1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-13 09:46:22 +00:00

Merge pull request #1570 from BoostIO/fix-memory-lick

Fix memory lickage
This commit is contained in:
Junyoung Choi (Sai)
2018-02-22 09:43:43 +09:00
committed by GitHub

View File

@@ -68,11 +68,8 @@ class MarkdownNoteDetail extends React.Component {
}
componentWillUnmount () {
if (this.saveQueue != null) this.saveNow()
}
componentDidUnmount () {
ee.off('topbar:togglelockbutton', this.toggleLockButton)
if (this.saveQueue != null) this.saveNow()
}
handleUpdateTag () {