Fix memory leak from object pools.
This commit is contained in:
@@ -524,6 +524,8 @@ namespace Cryville.Crtr {
|
||||
Game.AudioClient.Start();
|
||||
Game.AudioSession = Game.AudioSequencer.NewSession();
|
||||
inputProxy.Deactivate();
|
||||
inputProxy = null;
|
||||
judge = null;
|
||||
if (nbus != null) { nbus.Dispose(); nbus = null; }
|
||||
if (tbus != null) { tbus.Dispose(); tbus = null; }
|
||||
if (bbus != null) { bbus.Dispose(); bbus = null; }
|
||||
|
Reference in New Issue
Block a user