Pulse: do flush in close() not play()
Also compare against RUNNING and not DONE on waiting loop. Also lock mainloop when modifying values that are used in callback-code, and don't signal without lock.
Showing
Please register or sign in to comment