fix import-thread SNAFU
authorRobin Gareus <robin@gareus.org>
Sat, 21 May 2016 21:30:11 +0000 (23:30 +0200)
committerRobin Gareus <robin@gareus.org>
Sat, 21 May 2016 21:30:11 +0000 (23:30 +0200)
commit03660573e28dbc3574d5964cc0392832b8f46557
tree79c9786815951c32770258f0ea77a81e11444435
parent9ad096b6110e55d7f74e9724cd67246416c090be
fix import-thread SNAFU

 * pressing Esc or WM close button did not cancel import thread
 * proper Abort does not wait for import thread either

It was possible to launch a 2nd (and Nth) import thread, all sharing
the Editor's ImportStatus data-structure, all having the same
registered thread-name and same thread-pool name.  Plenty of room for
crashes.
gtk2_ardour/editor_audio_import.cc
gtk2_ardour/interthread_progress_window.cc
gtk2_ardour/interthread_progress_window.h