fix segfault at exit

Authored by cullmann on Feb 13 2020, 10:20 PM.

Description

fix segfault at exit

(solution: leak memory)

backtrace of crash

0 sonnet_ispellchecker.dll ISpellCheckerClient::~ISpellCheckerClient
1 sonnet_ispellchecker.dll ISpellCheckerClient::`scalar deleting destructor'
2 Qt5Core.dll QLibraryPrivate::unload
3 Qt5Core.dll QLibraryStore::cleanup
4 Qt5Core.dll anonymous namespace'::dynamic atexit destructor for 'qlibraryCleanup_dtor_instance_''
5 ucrtbase.dll _lambda_f03950bc5685219e0bcd2087efbe011e_::operator
6 ucrtbase.dll crt_seh_guarded_call_int_::operator
7 ucrtbase.dll _execute_onexit_table
8 Qt5Core.dll dllmain_crt_process_detach
9 Qt5Core.dll dllmain_dispatch
10 ntdll.dll LdrpCallInitRoutine
11 ntdll.dll LdrShutdownProcess
12 ntdll.dll RtlExitUserProcess
13 kernel32.dll FatalExit
14 ucrtbase.dll exit_or_terminate_process
15 ucrtbase.dll common_exit
16 kate.exe
scrt_common_main_seh
17 kernel32.dll BaseThreadInitThunk
18 ntdll.dll RtlUserThreadStart

> future: try to ensure sonnet does a proper cleanup of the clients/dicts before the global shutdown

phase, otherwise it is too late to cleanup COM stuff

Reviewers: Frameworks, vonreth

Reviewed By: vonreth

Subscribers: kde-frameworks-devel

Tags: Frameworks

Differential Revision: https://phabricator.kde.org/D27332

Details

Committed
cullmannFeb 13 2020, 10:20 PM
Reviewer
vonreth
Differential Revision
D27332: try to fix issue with ispellchecker on windows
Parents
R246:19cd6b195279: Use ecm_qt_install_logging_categories over manual categories file
Branches
Unknown
Tags
Unknown