diff --git a/Source/Thunder/PluginServer.h b/Source/Thunder/PluginServer.h index 9da464f97..f109aa1cf 100644 --- a/Source/Thunder/PluginServer.h +++ b/Source/Thunder/PluginServer.h @@ -2726,12 +2726,8 @@ namespace PluginHost { POP_WARNING() ~ServiceMap() { - Core::ProxyType job(_job.Revoke()); + _job.Revoke(); - if (job.IsValid()) { - WorkerPool().Revoke(job); - _job.Revoked(); - } // Make sure all services are deactivated before we are killed (call Destroy on this object); ASSERT(_services.size() == 0); } @@ -3500,7 +3496,7 @@ namespace PluginHost { ChannelObservers _channelObservers; Channels _opened; Channels _closed; - Core::ThreadPool::JobType _job; + Core::WorkerPool::JobType _job; }; // Connection handler is the listening socket and keeps track of all open