Skip to content

Commit

Permalink
Fixed a crash that occurs when refreshing routes while the tracker is…
Browse files Browse the repository at this point in the history
… stopped
  • Loading branch information
ShikenNuggets committed Jul 22, 2023
1 parent 0c5e009 commit 541f9ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ArkhamDisplay/BaseWindow.cs
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,7 @@ protected void OpenRouteFolder(object sender = null, RoutedEventArgs e = null){
protected void RefreshRoutes(object sender = null, RoutedEventArgs e = null){
Data.ReloadRoutes();

if(updateWorker.IsBusy){
if(updateWorker != null && updateWorker.IsBusy){
Stop_Button_Click(sender, e);
Start_Button_Click(sender, e);
}
Expand Down

0 comments on commit 541f9ec

Please sign in to comment.