Theoretically, there is still a problem (depends how the queue works which is not clear to me): when the window closes, the view should also close. Then, the view's destructor should release the delegate which in turn should release the semaphore. BUT if the queue is still running (I do not know if this is possible), this will lead to a crash because the released semaphore is still used.
Topic:
Graphics & Games
SubTopic:
General
Tags: