OSDN Git Service
(root)
/
fooeditengine
/
FooEditEngine.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
dea7d2f
)
メモリーリークの可能性がある個所を修正した
author
konekoneko
<test2214@hotmail.co.jp>
Fri, 14 Oct 2016 20:02:44 +0000
(
01:32
+0530)
committer
konekoneko
<test2214@hotmail.co.jp>
Fri, 14 Oct 2016 20:02:44 +0000
(
01:32
+0530)
Core/ViewBase.cs
patch
|
blob
|
history
diff --git
a/Core/ViewBase.cs
b/Core/ViewBase.cs
index
c5bff83
..
d056083
100644
(file)
--- a/
Core/ViewBase.cs
+++ b/
Core/ViewBase.cs
@@
-319,7
+319,10
@@
namespace FooEditEngine
{
if (disposing)
{
- this.Document.UpdateCalledAlways -= new DocumentUpdateEventHandler(this.doc_Update); //これをしないと複数のビューを作成した時に妙なエラーが発生する
+ this._Document.UpdateCalledAlways -= new DocumentUpdateEventHandler(this.doc_Update); //これをしないと複数のビューを作成した時に妙なエラーが発生する
+ this._Document.LineBreakChanged -= Document_LineBreakChanged;
+ this._Document.StatusUpdate -= Document_StatusUpdate;
+ this._Document.PerformLayouted -= _Document_PerformLayouted;
}
this._LayoutLines.Clear();
}