Skip to content

Commit

Permalink
Check for valid editor before refreshing
Browse files Browse the repository at this point in the history
  • Loading branch information
jsiegle committed Jan 7, 2023
1 parent 1e1c9e1 commit 3bc0c99
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Source/ZmqInterface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -693,7 +693,9 @@ void ZmqInterface::checkForApplications()
app->alive = false;
LOGC("App ", app->name, " no longer alive");
ZmqInterfaceEditor* zed = dynamic_cast<ZmqInterfaceEditor*> (getEditor());
zed->refreshListAsync();

if (zed != nullptr)
zed->refreshListAsync();
}
}
}
Expand Down

0 comments on commit 3bc0c99

Please sign in to comment.