Skip to content

Commit

Permalink
Fix channel open/close notifications
Browse files Browse the repository at this point in the history
  • Loading branch information
sebaszm committed Dec 13, 2024
1 parent 5ede424 commit 4ba540a
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions Source/Thunder/PluginServer.h
Original file line number Diff line number Diff line change
Expand Up @@ -2726,12 +2726,8 @@ namespace PluginHost {
POP_WARNING()
~ServiceMap()
{
Core::ProxyType<Core::IDispatch> 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);
}
Expand Down Expand Up @@ -3500,7 +3496,7 @@ namespace PluginHost {
ChannelObservers _channelObservers;
Channels _opened;
Channels _closed;
Core::ThreadPool::JobType<ServiceMap&> _job;
Core::WorkerPool::JobType<ServiceMap&> _job;
};

// Connection handler is the listening socket and keeps track of all open
Expand Down

0 comments on commit 4ba540a

Please sign in to comment.