summaryrefslogtreecommitdiffstats
path: root/tests/manual/wasm/qtloader_integration/main.cpp
diff options
context:
space:
mode:
authorMorten Sørvig <morten.sorvig@qt.io>2023-10-25 12:14:36 +0200
committerMorten Johan Sørvig <morten.sorvig@qt.io>2023-12-20 00:44:27 +0000
commitac4619a36a54a2168ea5d7a2c7d059781564098c (patch)
tree1134c5dd5028053fc509e2f8150db707077c4940 /tests/manual/wasm/qtloader_integration/main.cpp
parentf413229184e91e8dbe7b7cb1e74cbce39e21dde4 (diff)
wasm: call onExit once and only once on exit
We listen to the onExit and on onAbort Emscripten events, and also handle exit by exception. Make sure we call onExit only once on exit, regardless of the order and number of Emscripten events. Pick-to: 6.7 Change-Id: I4833a1056fad0a2706bd6c0f0fce98fb052fe8c8 Reviewed-by: Morten Johan Sørvig <morten.sorvig@qt.io>
Diffstat (limited to 'tests/manual/wasm/qtloader_integration/main.cpp')
0 files changed, 0 insertions, 0 deletions