aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Editor.cxx
diff options
context:
space:
mode:
authorZufu Liu <unknown>2022-03-05 16:25:28 +1100
committerZufu Liu <unknown>2022-03-05 16:25:28 +1100
commitbbfeaf78ee634c24bd7fcb1c7faff207473e71e4 (patch)
tree0e99e4a1db470052c8ec106c2e1376f551a8524b /src/Editor.cxx
parentd2299a660d680f8a533abcbf8e050eb41a893e25 (diff)
downloadscintilla-mirror-bbfeaf78ee634c24bd7fcb1c7faff207473e71e4.tar.gz
Feature [feature-requests:#1432] Remove redundant calls to DropGraphics.
InvalidateStyleRedraw calls DropGraphics and the unique_ptr destructors will ensure that the pixmaps are destroyed when Editor is destroyed.
Diffstat (limited to 'src/Editor.cxx')
-rw-r--r--src/Editor.cxx1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/Editor.cxx b/src/Editor.cxx
index ccf07b6a8..34fcd4220 100644
--- a/src/Editor.cxx
+++ b/src/Editor.cxx
@@ -204,7 +204,6 @@ Editor::Editor() : durationWrapOneByte(0.000001, 0.00000001, 0.00001) {
Editor::~Editor() {
pdoc->RemoveWatcher(this, nullptr);
- DropGraphics();
}
void Editor::Finalise() {