Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix crash on app reboot. Standardise indentation. #43

Merged
merged 2 commits into from
Dec 29, 2017

Conversation

dapetcu21
Copy link
Collaborator

There was a crash that happened if you tried to re-start the game from the editor on macOS with the game already running. In that case, Defold reused the process but the NSWindow handle changed and the old one kept by init_window() was invalid, causing crashes. I fixed it by getting the handle to the window in InitializeDefos().

I also enforced indentation consistency because it tickled my OCD. 😄

@subsoap subsoap merged commit 7cb1663 into subsoap:master Dec 29, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants