Store the root coroutine in its own QThreadStorage to guarantee deletion.
authorChristian Kamm <christian.d.kamm@nokia.com>
Tue, 23 Mar 2010 13:06:01 +0000 (14:06 +0100)
committerChristian Kamm <christian.d.kamm@nokia.com>
Fri, 26 Mar 2010 12:05:03 +0000 (13:05 +0100)
commitd91f0eb67e2226d118af4874e069dac59652bd2a
tree949c6c261d8ae836eaa248662f04d41334a31d38
parent80d39f61c92d81fc8408c5d3a9b67f2b2f9d082a
Store the root coroutine in its own QThreadStorage to guarantee deletion.

Previously, each thread that used coroutines leaked the root coroutine
on exit.
src/coroutine.cpp