Skip to content

Commit

Permalink
Merge branch '173-fix-service-hooks-locking' into development
Browse files Browse the repository at this point in the history
Fixes #173
  • Loading branch information
saschazelzer committed Jun 27, 2017
2 parents 48f204d + 741d14a commit 54881a4
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions framework/src/service/ServiceHooks.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -75,10 +75,8 @@ void ServiceHooks::RemovedService(const ServiceReference<ServiceListenerHook>& /

void ServiceHooks::Open()
{
{
auto l = this->Lock(); US_UNUSED(l);
listenerHookTracker.reset(new ServiceTracker<ServiceListenerHook>(GetBundleContext(), this));
}
auto l = this->Lock(); US_UNUSED(l);
listenerHookTracker.reset(new ServiceTracker<ServiceListenerHook>(GetBundleContext(), this));
listenerHookTracker->Open();

bOpen = true;
Expand Down

0 comments on commit 54881a4

Please sign in to comment.