Added null check

This commit is contained in:
Travis Nickles 2020-03-24 17:07:48 -05:00
parent 40c0a58ab1
commit 9a7e3b6e55

View File

@ -188,7 +188,7 @@ namespace DS4WinWPF
{ {
Dispatcher.Invoke(() => Dispatcher.Invoke(() =>
{ {
rootHub.PrepareAbort(); rootHub?.PrepareAbort();
CleanShutdown(); CleanShutdown();
}); });
} }