Fix crash related to fetching subscriptions

This commit is contained in:
Brahim Hadriche committed 2023-11-04 11:12:35 -04:00
1 parent 771929d0d8
commit 777db66bda
4 files changed
+27 -9

No files matched your search

+3
View File
@@ -1,4 +1,5 @@
function ShowErrorDialog(message as object, bulletText as object, bottomMessage as object)
' TODO:P2 a null check on StandardMessageDialog, only available on 10.0 and later
dialog = CreateObject("roSGNode", "StandardMessageDialog")
dialog.message = message
dialog.bulletText = bulletText
@@ -19,5 +20,7 @@ function OnButtonSelected()
end function
function OnDialogClosed()
' TODO:P1 throw an exception to cause a crash report to be generated
' Should include which playlet lib failed to load
m.top.getScene().exitChannel = true
end function