Hi
There are two independent components to a screensharing app,
1) Your own app that instantiates screen sharing,
2) The screenshare addin that does the screensharing for you
Unfortunately the addin control from your app gets messed up if the screensharing is not closed properly. And once the control connection, from app to the screen sharing is messed up, the only option is to force kill the addin and restarting your app.
Also the nature is such that, once the app loses control of addin, we are forced to manually close the addin. So although you see the error trace, currently there is no workound to fix the issue.
Thanks
Arun