add restart with windows and autorestart
This commit is contained in:
@@ -131,5 +131,11 @@ namespace SafeBagDE70
|
||||
window.Width = screen.WorkingArea.Width;
|
||||
window.Height = screen.WorkingArea.Height;
|
||||
}
|
||||
protected override void OnExit(ExitEventArgs e)
|
||||
{
|
||||
// Release the mutex when the application is closed
|
||||
mutex?.ReleaseMutex();
|
||||
base.OnExit(e);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user