Issue with Modal View Session

Hi,
this is unit tested, please see vstgui/cframe_test.cpp at develop · steinbergmedia/vstgui · GitHub
And I don’t see an issue here.
You can add

EXPECT (view->getNbReference () == 1);

at the end of the test to verify that the reference count is as expected.
Or do you expect something else?

Cheers,
Arne