diff options
author | wolfbeast <mcwerewolf@gmail.com> | 2018-02-07 21:36:37 +0100 |
---|---|---|
committer | wolfbeast <mcwerewolf@gmail.com> | 2018-02-07 21:36:37 +0100 |
commit | d773eca3316f2c99db9a1dd77929bcbd157eeacb (patch) | |
tree | be0efc8413575e2db60480a9ba5991261929b144 /editor/libeditor/DeleteNodeTransaction.cpp | |
parent | 1e55a5d9188b87da8632e217b238838effb1cdeb (diff) | |
download | UXP-d773eca3316f2c99db9a1dd77929bcbd157eeacb.tar UXP-d773eca3316f2c99db9a1dd77929bcbd157eeacb.tar.gz UXP-d773eca3316f2c99db9a1dd77929bcbd157eeacb.tar.lz UXP-d773eca3316f2c99db9a1dd77929bcbd157eeacb.tar.xz UXP-d773eca3316f2c99db9a1dd77929bcbd157eeacb.zip |
Edit transactions should store their editor instance with strong reference
Edit transactions should store their editor instance with a strong reference, and they should be released when the editor is destroyed.
Diffstat (limited to 'editor/libeditor/DeleteNodeTransaction.cpp')
-rw-r--r-- | editor/libeditor/DeleteNodeTransaction.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/libeditor/DeleteNodeTransaction.cpp b/editor/libeditor/DeleteNodeTransaction.cpp index 7f485b066..ae9951e28 100644 --- a/editor/libeditor/DeleteNodeTransaction.cpp +++ b/editor/libeditor/DeleteNodeTransaction.cpp @@ -23,6 +23,7 @@ DeleteNodeTransaction::~DeleteNodeTransaction() } NS_IMPL_CYCLE_COLLECTION_INHERITED(DeleteNodeTransaction, EditTransactionBase, + mEditorBase, mNode, mParent, mRefNode) |