-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed Mac/Clang/Release crash related to std::function callback durin…
…g SheepScript loading. While testing the v0.0.6 release, I noticed the game crashing at a strange spot while loading SheepScript files. The crash appears to be related to destructing std::function objects. Converting the offending code to use a simple function pointer appears to fix the problem. So, I'll do this for now. However, seems strange to me that std::function would not work correctly here...
- Loading branch information
Showing
2 changed files
with
19 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters