Mercurial > hg > orthanc-stone
diff Framework/Loaders/LoaderStateMachine.cpp @ 1075:81b29bc7c3d4 broker
cont
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 17 Oct 2019 14:39:51 +0200 |
parents | 9d42f89b8c3c |
children | 8e3763d1736a |
line wrap: on
line diff
--- a/Framework/Loaders/LoaderStateMachine.cpp Thu Oct 17 13:48:52 2019 +0200 +++ b/Framework/Loaders/LoaderStateMachine.cpp Thu Oct 17 14:39:51 2019 +0200 @@ -97,7 +97,8 @@ ") < simultaneousDownloads_ (" << simultaneousDownloads_ << ") --> will Schedule command addr " << std::hex << nextCommand << std::dec; - oracle_.Schedule(*this, nextCommand); + boost::shared_ptr<IObserver> observer(GetSharedObserver()); + oracle_.Schedule(observer, nextCommand); pendingCommands_.pop_front(); activeCommands_++;