Mercurial > hg > orthanc-stone
diff Framework/Deprecated/Toolbox/BaseWebService.cpp @ 1068:04a95ee91327 broker
recovery of OrthancStoneSingleFrame
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 15 Oct 2019 19:36:57 +0200 |
parents | e713f1a99861 |
children | 21c2b0eee53c |
line wrap: on
line diff
--- a/Framework/Deprecated/Toolbox/BaseWebService.cpp Tue Oct 15 18:11:40 2019 +0200 +++ b/Framework/Deprecated/Toolbox/BaseWebService.cpp Tue Oct 15 19:36:57 2019 +0200 @@ -97,9 +97,9 @@ GetAsyncInternal(uri, headers, new BaseWebService::BaseWebServicePayload(successCallback, failureCallback, payload), // ownership is transfered new OrthancStone::Callable<BaseWebService, IWebService::HttpRequestSuccessMessage> - (shared_from_this(), &BaseWebService::CacheAndNotifyHttpSuccess), + (GetSharedObserver(), &BaseWebService::CacheAndNotifyHttpSuccess), new OrthancStone::Callable<BaseWebService, IWebService::HttpRequestErrorMessage> - (shared_from_this(), &BaseWebService::NotifyHttpError), + (GetSharedObserver(), &BaseWebService::NotifyHttpError), timeoutInSeconds); } else