mirror of
https://github.com/greenshot/greenshot
synced 2025-08-19 21:13:23 -07:00
Another NPE fix
This commit is contained in:
parent
7c3812c529
commit
b638b1cea2
1 changed files with 8 additions and 3 deletions
|
@ -89,9 +89,14 @@ namespace Greenshot.Drawing
|
||||||
if (!disposing) {
|
if (!disposing) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
if (_parent != null)
|
||||||
FieldAggregator aggProps = _parent.FieldAggregator;
|
{
|
||||||
aggProps.UnbindElement(this);
|
FieldAggregator fieldAggregator = _parent.FieldAggregator;
|
||||||
|
if (fieldAggregator != null)
|
||||||
|
{
|
||||||
|
fieldAggregator.UnbindElement(this);
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
~DrawableContainer() {
|
~DrawableContainer() {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue