This repository was archived by the owner on Apr 29, 2021. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Failed to load files.
Original file line numberDiff line numberDiff line change
Expand Up@@ -192,6 +192,13 @@ public WindowPadding viewInsets {
}

protected override void OnDisable() {

if (this._viewMetricsCallbackRegistered) {
this._viewMetricsCallbackRegistered = false;
UIWidgetsMessageManager.instance?.RemoveChannelMessageDelegate("ViewportMatricsChanged",
this._handleViewMetricsChanged);
}

D.assert(this._windowAdapter != null);
this._windowAdapter.OnDisable();
this._windowAdapter = null;
Expand DownExpand Up@@ -417,4 +424,4 @@ public Window window {
get { return this._windowAdapter; }
}
}
}
}