If I create a media.Player instance within a  certain class, I get the
following error on the console when I close the program (everything
works perfectly, it seems some memory cleaning that I just don't know
how to do properly)

AL lib: ALc.c:1253: exit() 1 device(s) and 1 context(s) NOT deleted
E: thread-posix.c: Assertion 'pthread_setspecific(t->key, userdata) ==
0' failed at pulsecore/thread-posix.c:194, function pa_tls_set().
Aborting.

The player is created like this:

class Audio ():
    def __init__(self, *args, **kwargs):
        self.music_player = media.Player()

Other objects also have Players, and I also get as many errors as
objects I have when exiting. I have tried deleting those players like
this:

self.audio.music_player.pause() #just in case...
del self.audio.music_player

but I still get the error.

Any clue would be appreciated : )
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pyglet-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/pyglet-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to