Mercurial > hg > orthanc-stone
diff Deprecated/Applications/Generic/GuiAdapter.cpp @ 1436:fb8c36073983
Fix problem where multiple init/exit were not possible when using GuiAdapter
author | Benjamin Golinvaux <bgo@osimis.io> |
---|---|
date | Tue, 19 May 2020 15:28:15 +0200 |
parents | d0a3de66bb42 |
children | 615035c2f3ba |
line wrap: on
line diff
--- a/Deprecated/Applications/Generic/GuiAdapter.cpp Tue May 19 13:24:16 2020 +0200 +++ b/Deprecated/Applications/Generic/GuiAdapter.cpp Tue May 19 15:28:15 2020 +0200 @@ -56,6 +56,8 @@ return os; } + int GuiAdapter::s_instanceCount = 0; + #if ORTHANC_ENABLE_WASM == 1 void GuiAdapter::Run(GuiAdapterRunFunc /*func*/, void* /*cookie*/) { @@ -1132,9 +1134,8 @@ OnSdlGenericEvent(sdlEvent); } + SDL_Delay(1); } - - SDL_Delay(1); } } #endif