Investigate why `RemoveResource` operation fails when multi-threaded
Following up on !2773 (merged), if the RemoveResource
operation is not pinned to the main/Qt thread, the target resource is not removed from the resource panel.
- Code inspection does not point to a culprit - the
qtSMTKCallObserversOnMainThreadBehavior
should execute both operation and resource observes on the main thread. - When I traced the removal code in the debugger, it succeeded - the debugger changed the thread timing, masking the failure mode.