File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed
Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change 66- framework reads a `/config` file in `plugins`
77- added `RESTBuilder.?.logerror()` method for printing errors into the console
88- added `API.?.logerror()` method for printing errors into the console
9+ - fixed handling of unexpected problems in the Flow with the main process becoming disconnected
910
1011========================
11120.0.15
Original file line number Diff line number Diff line change @@ -97,7 +97,12 @@ Instance.prototype = {
9797} ;
9898
9999Instance . prototype . postMessage = function ( msg ) {
100- this . flow . postMessage && this . flow . postMessage ( msg ) ;
100+ if ( this . flow . postMessage ) {
101+ // Try & Catch handles unexpected problems with the main process becoming disconnected.
102+ try {
103+ this . flow . postMessage ( msg ) ;
104+ } catch { }
105+ }
101106} ;
102107
103108Instance . prototype . httprequest = function ( opt , callback ) {
You can’t perform that action at this time.
0 commit comments