-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
defer certain events on macOS to avoid re-entrant calls (#189)
* defer certain events on macOS to avoid re-entrant calls * immediately trigger deferred event if borrowing succeeds * nicer signature * rename method: defer_event -> trigger_deferrable_event * clean up, add comments * address review comments * fix borrow logic when sending deferred events * handle deferred events after on_frame
- Loading branch information
Showing
2 changed files
with
41 additions
and
4 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