~Property()
{
- Dispose();
+ DisposeQueue.Instance.Add(this);
}
public virtual void Dispose()
{
+ if (!Window.IsInstalled()) {
+ DisposeQueue.Instance.Add(this);
+ return;
+ }
+
lock (this)
{
if (swigCPtr.Handle != global::System.IntPtr.Zero)
~InputStyle()
{
- Dispose();
+ DisposeQueue.Instance.Add(this);
}
public virtual void Dispose()
{
+ if (!Window.IsInstalled()) {
+ DisposeQueue.Instance.Add(this);
+ return;
+ }
+
lock (this)
{
if (swigCPtr.Handle != global::System.IntPtr.Zero)