diff options
| author | 2024-02-08 08:58:10 +0100 | |
|---|---|---|
| committer | 2024-02-08 08:58:10 +0100 | |
| commit | 5cbbeabcfd2321e42767063d617b71ae14b3b8c7 (patch) | |
| tree | 02622afce182d44bc2463f3adb2e19609a7aa225 /src/modules | |
| parent | Fix #2597: moc may require the full KviMaskEntry declaration in the header fi... (diff) | |
| download | KVIrc-5cbbeabcfd2321e42767063d617b71ae14b3b8c7.tar.gz KVIrc-5cbbeabcfd2321e42767063d617b71ae14b3b8c7.tar.bz2 KVIrc-5cbbeabcfd2321e42767063d617b71ae14b3b8c7.zip | |
Add support for sanitizers at compile time (and fix some issues) (#2599)
* Add an option to enable sanitizer at compile time
* Fix singleton classes initialization
* Revert r5378 - issue #1068 - to avoid having duplicate symbols exported by modules, that may cause a crash
* Fix cast in KviTalIconAndRichTextItemDelegate (used by both QListWidget and QTreeWidget)
* ScriptEditor: don't leak a timer for every script editor widget
* Add support for memory and thread sanitizers
* Fix sanitizer
* KviSignalhandler: don't leak the whole object
* Remove debug warning when a single message is longer than 512 bytes.
As per https://ircv3.net/specs/extensions/message-tags.html#size-limit , message tags can prepend a whooping 8kbs of "tags" (header data) to each message.
* Avoid initialization loop between KviLocale and KviMessageCatalogue. Assume all .po files are UTF8. This is already a requirement since about a decade.
* KviInputEditor: don't leak the undo/redo stacks
KviInputEditor: don't leak the undo/redo stacks - rework using smart pointers
* Fix typo
Diffstat (limited to 'src/modules')
| -rw-r--r-- | src/modules/editor/ScriptEditorImplementation.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/modules/editor/ScriptEditorImplementation.cpp b/src/modules/editor/ScriptEditorImplementation.cpp index 81081fae8..c567d01e3 100644 --- a/src/modules/editor/ScriptEditorImplementation.cpp +++ b/src/modules/editor/ScriptEditorImplementation.cpp @@ -137,6 +137,11 @@ ScriptEditorWidget::~ScriptEditorWidget() if(m_pCompleter) delete m_pCompleter; disableSyntaxHighlighter(); + if(m_pStartTimer) { + m_pStartTimer->stop(); + m_pStartTimer->deleteLater(); + m_pStartTimer = nullptr; + } } void ScriptEditorWidget::checkReadyCompleter() |
