fix too many open handles (blips weren't being freed)
This commit is contained in:
parent
d486d28bcf
commit
32ec736296
@ -3464,6 +3464,8 @@ class GUI(QtGui.QWidget):
|
|||||||
)
|
)
|
||||||
|
|
||||||
if path:
|
if path:
|
||||||
|
if self.blipSound:
|
||||||
|
audio.freeHandle(self.blipSound)
|
||||||
self.blipSound = audio.loadHandle(False, path, 0, 0, 0)
|
self.blipSound = audio.loadHandle(False, path, 0, 0, 0)
|
||||||
|
|
||||||
if self.blipSound:
|
if self.blipSound:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user