~ViewWrapperImpl()
{
- Dispose();
+ DisposeQueue.Instance.Add(this);
}
public override void Dispose()
{
+ if (!Stage.IsInstalled())
+ {
+ DisposeQueue.Instance.Add(this);
+ return;
+ }
+
lock(this)
{
if (swigCPtr.Handle != global::System.IntPtr.Zero)
private void DirectorOnPropertySet(int index, global::System.IntPtr propertyValue)
{
- OnPropertySet(index, new Property.Value(propertyValue, true));
+ if (OnPropertySet != null)
+ {
+ OnPropertySet(index, new Property.Value(propertyValue, true));
+ }
}
private void DirectorOnSizeSet(global::System.IntPtr targetSize)