# HG changeset patch # User Alain Mazy # Date 1568196921 -7200 # Node ID 92a043b8e43153d8401988869a91ff93182b01f9 # Parent 3ea70a62ca005f16c6acdb9545e2d0986a4e9b39 removed logs from IObserver constructor diff -r 3ea70a62ca00 -r 92a043b8e431 Framework/Messages/IObserver.h --- a/Framework/Messages/IObserver.h Wed Sep 11 10:43:21 2019 +0200 +++ b/Framework/Messages/IObserver.h Wed Sep 11 12:15:21 2019 +0200 @@ -45,10 +45,7 @@ // remember this is panic-level code to track zombie object usage std::string fingerprint = Orthanc::Toolbox::GenerateUuid(); const char* fingerprintRaw = fingerprint.c_str(); - ORTHANC_ASSERT(strlen(fingerprintRaw) == 36); - ORTHANC_ASSERT(fingerprintRaw[36] == 0); memcpy(fingerprint_, fingerprintRaw, 37); - LOG(TRACE) << "IObserver(" << std::hex << this << std::dec << ")::IObserver : fingerprint_ == " << fingerprint_; broker_.Register(*this); } diff -r 3ea70a62ca00 -r 92a043b8e431 Platforms/Wasm/Defaults.cpp --- a/Platforms/Wasm/Defaults.cpp Wed Sep 11 10:43:21 2019 +0200 +++ b/Platforms/Wasm/Defaults.cpp Wed Sep 11 12:15:21 2019 +0200 @@ -6,7 +6,9 @@ #include #include #include +#include #include +#include #include @@ -105,7 +107,8 @@ } void EMSCRIPTEN_KEEPALIVE CreateWasmApplication(ViewportHandle viewport) { - + printf("Initializing Stone\n"); + OrthancStone::StoneInitialize(); printf("CreateWasmApplication\n"); application.reset(CreateUserApplication(broker));