forked from hex007/freej2me
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PlatformPlayer: Explicitly handle meta and line event listeners
Don't let the JVM garbage collect the implicitly, as it can fail to do so. Instead, hint at when they're apt to be GC'ed by explicitly creating one per player, and marking it as unused on deallocate and close. Fixes memory leaks in Final Fantasy, and likely many others.
- Loading branch information
1 parent
f375963
commit d59812f
Showing
1 changed file
with
62 additions
and
26 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