Closing C# Demo App

1 post / 0 new
RickWallis
Closing C# Demo App

I've modified the demo C# streaming app, and have a usable app working - but I can't exit it gracefully! When I close the Window, it leaves subscriptions open and the account logged in.

ApplicationViewModel:Exit() should do this (I think), but doesn't seem to get called. I'm a WPF newbie, so having some trouble tracking the problem down. How should Exit() get called (when closing the MainWindow)?

Thanks in advance for your help.