mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-03-19 15:29:42 +01:00
Only notify about resolver removed event if it actually makes a difference (and the Pipeline is not shutting down)
This commit is contained in:
parent
4d1decee93
commit
4576f9a8d5
@ -148,7 +148,10 @@ Pipeline::removeResolver( Resolver* r )
|
||||
|
||||
tDebug() << "Removed resolver:" << r->name();
|
||||
d->resolvers.removeAll( r );
|
||||
emit resolverRemoved( r );
|
||||
if ( d->running ) {
|
||||
// Only notify if Pipeline is still active.
|
||||
emit resolverRemoved( r );
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user