@magic-xpa/engine 4.901.0-dev491.311 → 4.901.0-dev491.313

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -5525,11 +5525,21 @@ class RemoteCommandsProcessor extends CommandsProcessorBase {
5525
5525
  }
5526
5526
  }
5527
5527
  }
5528
- window.localStorage.clear();
5528
+ this.clearLocalStorage();
5529
5529
  throw ex;
5530
5530
  }
5531
5531
  return response;
5532
5532
  }
5533
+ clearLocalStorage() {
5534
+ window.localStorage.removeItem(ConstInterface.LAST_ROUTE_EVENT);
5535
+ window.localStorage.removeItem(ConstInterface.LAST_ROUTE_EVENT_SRC_TSK);
5536
+ window.localStorage.removeItem(ConstInterface.LAST_ROUTE_EVENT_ARG_LIST);
5537
+ window.localStorage.removeItem(ConstInterface.IS_SESSION_REINITIALIZING);
5538
+ window.localStorage.removeItem(ConstInterface.MAIN_PROG_VIEW);
5539
+ window.localStorage.removeItem(ConstInterface.GLOBAL_PARAM_LIST);
5540
+ window.localStorage.removeItem(ConstInterface.LAST_EXCEPTION);
5541
+ window.localStorage.removeItem(ConstInterface.CTX_REMOVED_FROM_SRVR);
5542
+ }
5533
5543
  HandleErrorResponse(response) {
5534
5544
  try {
5535
5545
  Logger.Instance.WriteServerMessagesToLog("MESSAGE FROM SERVER: " + response);
@@ -29525,7 +29535,7 @@ class CommandsTable {
29525
29535
  }
29526
29536
  }
29527
29537
 
29528
- let CurrentClientVersion = '4.901.0-dev491.311';
29538
+ let CurrentClientVersion = '4.901.0-dev491.313';
29529
29539
 
29530
29540
  class ClientManager {
29531
29541
  constructor() {