mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-10-13 22:11:07 -04:00
fixed bug causing crash when rsPlugins is not initialized yet
This commit is contained in:
parent
e2b2c1ae44
commit
5592c667ae
1 changed files with 12 additions and 8 deletions
|
@ -861,6 +861,9 @@ void NotifyQt::handleIncomingEvent(std::shared_ptr<const RsEvent> event)
|
|||
|
||||
|
||||
/*Now check Plugins*/
|
||||
|
||||
if(rsPlugins) // rsPlugins may not be initialized yet if we're handlign TorManager events.
|
||||
{
|
||||
int pluginCount = rsPlugins->nbPlugins();
|
||||
|
||||
for (int i = 0; i < pluginCount; ++i) {
|
||||
|
@ -873,6 +876,7 @@ void NotifyQt::handleIncomingEvent(std::shared_ptr<const RsEvent> event)
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// if (rsNotify->NotifyLogMessage(sysid, type, title, msg))
|
||||
// {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue