Merge pull request #110 from demiurgeQuantified/fix-photofun-memoryleak
Fix Photo Fun memory leak
This commit is contained in:
commit
1ec88ca7fd
1 changed files with 5 additions and 0 deletions
|
@ -245,6 +245,11 @@ class DistributedPhotoGame(DistributedMinigame, PhotoGameBase.PhotoGameBase):
|
||||||
self.removeChildGameFSM(self.gameFSM)
|
self.removeChildGameFSM(self.gameFSM)
|
||||||
del self.gameFSM
|
del self.gameFSM
|
||||||
self.ignoreAll()
|
self.ignoreAll()
|
||||||
|
|
||||||
|
for rayEntry in self.rayArray:
|
||||||
|
rayEntry[3].remove_node()
|
||||||
|
del self.rayArray
|
||||||
|
|
||||||
return
|
return
|
||||||
|
|
||||||
def onstage(self):
|
def onstage(self):
|
||||||
|
|
Loading…
Reference in a new issue