The emscripten_idb_async_ functions are async, so there is no guarantee that the QSettings object which made the request will be live by the time the completion callback is made. Keep track of live QWasmSettingsPrivate objects, return early from the callbacks if userData does not point to a valid QWasmSettingsPrivate. Change-Id: Ia319b1875dcf2c329ba27954e3f026e004fe0aac Reviewed-by: Morten Johan Sørvig <morten.sorvig@qt.io> Reviewed-by: Lorn Potter <lorn.potter@gmail.com> (cherry picked from commit 25c2d05340eee01cf55457b8327f8f69d408879a) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Description
Languages
C++
84.3%
HTML
4.9%
C
3.9%
CMake
3.6%
Objective-C++
2%
Other
0.8%