mirror of
https://github.com/greenshot/greenshot
synced 2025-08-20 13:33:27 -07:00
Fixed dispose order, bug #1476
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2533 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
This commit is contained in:
parent
94c0f1064f
commit
68ab243178
1 changed files with 1 additions and 1 deletions
|
@ -79,13 +79,13 @@ namespace Greenshot.Drawing {
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="disposing">When disposing==true all non-managed resources should be freed too!</param>
|
/// <param name="disposing">When disposing==true all non-managed resources should be freed too!</param>
|
||||||
protected override void Dispose(bool disposing) {
|
protected override void Dispose(bool disposing) {
|
||||||
|
base.Dispose(disposing);
|
||||||
if (disposing) {
|
if (disposing) {
|
||||||
if (freehandPath != null) {
|
if (freehandPath != null) {
|
||||||
freehandPath.Dispose();
|
freehandPath.Dispose();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
freehandPath = null;
|
freehandPath = null;
|
||||||
base.Dispose(disposing);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue