diff options
| author | Tim Blechmann <tim.blechmann@qt.io> | 2025-10-27 11:31:03 +0800 |
|---|---|---|
| committer | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2025-11-25 07:26:16 +0000 |
| commit | e9b6cdc07caf489ae9dddcf978cb36344c87c232 (patch) | |
| tree | a78c8710c6455fb9cdd2cfd404b0b5410dfb4ad8 /doc/src/snippets/qtcast/qtcast.cpp | |
| parent | 36cee508a088e1570e1d89e060c3ccd14585d3f1 (diff) | |
QTextDocument: fix repeated calls of unit tests
Tests may set the default resource provider. Calling the test multiple
times results in a heap-use-after-free error/crash. So we need to unset
the default resource provider.
Amends ccf1a1a9536be7b904494f5b3243202d71a33b06.
Pick-to: 6.10
Change-Id: I6bc1d67af54534e85fe95dc57236499bc2e7b923
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'doc/src/snippets/qtcast/qtcast.cpp')
0 files changed, 0 insertions, 0 deletions
