Track down X issue on exit.
When TestBasicQtApp
exits, we get x errors. If I put a log message in vtkPVView::~vtkPVView()
, we realize that the views are getting destroyed on the main thread, not on the thread that created them.
So a few issues here:
- add ability to vtkSMProxy to delete remote object when the proxy is being deleted. We are missing that.
- (could be deferred for later is 1 resolves the issue)
vtkServerSession
should ensure that the ObjectStore is emptied on the service's main thread.