Swift deinit was not called on created thread. How to fix?
<p>Swift deinit was called on background thread, however the object was created on the main thread. Is it guaranteed, that deinit is called in the same thread as init?</p>