I ran into a similar sounding (pun not intended) problem. What seems to work is keeping a reference to the player instance returned by play() (or instantiating your own player) and explicitly calling delete() on it when done with it.
Am Donnerstag, 23. April 2015 22:10:33 UTC+2 schrieb Dummey: > > The spec here: http://pyglet.org/doc-current/api/pyglet/pyglet.media.html > > Says you can force a garbage collection. Your problem may be that you > have too many players at the same time (I honestly have never had this > problem ), so maybe cleaning them up will work. > -- You received this message because you are subscribed to the Google Groups "pyglet-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to pyglet-users+unsubscr...@googlegroups.com. To post to this group, send email to pyglet-users@googlegroups.com. Visit this group at http://groups.google.com/group/pyglet-users. For more options, visit https://groups.google.com/d/optout.