I am calling Application.Current.Shutdown()
from a class that is bound to xaml windows with ObjectDataProvider
, but the application is not closing. Can anyone help me to understand why? My application is not closing completely after my main window is closed, it doesn't disappear from task manager's process list.
Try Environment.Exit(0)
instead
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With