leapmotion / autowiring

A C++ Inversion of Control Framework
http://autowiring.io/
Apache License 2.0
148 stars 17 forks source link

Fix parallel class #1030

Closed gittyupagain closed 6 years ago

gittyupagain commented 6 years ago

Threads were leaking due to DispatchQueue::WaitForEvent waiting forever for each thread. The fix was to Rundown the dispatch queue, causing WaitForEvent to abort both existing and future calls.