예제 #1
0
파일: __init__.py 프로젝트: cb109/maxstick
 def delete(self):
     self.worker.stop()
     with self.lock:
         alc.alcMakeContextCurrent(None)
         alc.alcDestroyContext(self._context)
         alc.alcCloseDevice(self._device)
         self._device = None
예제 #2
0
 def delete(self):
     self.worker.stop()
     with self.lock:
         alc.alcMakeContextCurrent(None)
         alc.alcDestroyContext(self._context)
         alc.alcCloseDevice(self._device)
         self._device = None