Fixed exit-while-playing-note bug.
commit2ef4c59dfc84d3a9f0379682c1c0d3c388a3d9d6
authorEvanR <evanrinehart@gmail.com>
Wed, 10 Dec 2008 18:02:03 +0000 (10 12:02 -0600)
committerEvanR <evanrinehart@gmail.com>
Wed, 10 Dec 2008 18:02:03 +0000 (10 12:02 -0600)
tree1f45e06d6f529ebf9225225e166c0baab3dd267f
parent8d2429848ff3e6a40eeda476e8887fa6263443c9
Fixed exit-while-playing-note bug.

Which was caused by the gui scheduling a all_notes_off
and immediately exiting before the next process callback
was able to actually send it.

I put sleep(1) in shutdown_backend() to allow the
final gui messages to be processed.
src/jack.cpp