Merge pull request #15718 from amerhifi/master

case #BUGZ-608: App Shutdown toolbar undefined crash
This commit is contained in:
Amer 2019-06-10 12:55:19 -07:00 committed by GitHub
commit 38607424ff
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -535,7 +535,9 @@ function shutdown() {
if (!HMD.active) {
var toolbar = Toolbars.getToolbar(TOOLBAR_NAME);
toolbar.writeProperty("visible", true);
if (toolbar) {
toolbar.writeProperty("visible", true);
}
}
}