mirror of
https://github.com/SteamDeckHomebrew/decky-loader.git
synced 2026-07-11 22:12:03 +00:00
Fix toaster deinit error
This commit is contained in:
@@ -84,9 +84,9 @@ class Toaster extends Logger {
|
|||||||
}
|
}
|
||||||
|
|
||||||
deinit() {
|
deinit() {
|
||||||
unpatch(this.instanceRet, 'type');
|
this.instanceRet && unpatch(this.instanceRet, 'type');
|
||||||
delete this.node.stateNode.render;
|
this.node && delete this.node.stateNode.render;
|
||||||
this.node.stateNode.forceUpdate();
|
this.node && this.node.stateNode.forceUpdate();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user