Jump to content

Exiting Leadwerks Program Properly


gamecreator
 Share

Recommended Posts

What function(s) do you need to call to end a Leadwerks program properly?

 

I ask because my program runs and exits fine but when I record it with OBS, it freezes then crashes on exit. It gives me the impression that I don't clean up properly but maybe Leadwerks and OBS just don't get along on my system (anyone else have this?).

 

My current exit is simply the one from the examples:

 

if (window->Closed() || window->KeyDown(Key::Escape)) return false;

 

Do I even need to release all the loaded entities before quitting? The map? Sounds/music? Or does Leadwerks handle this?

 

Super low priority but was just curious.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...