@magic-xpa/engine 4.1000.0-dev4100.308 → 4.1000.0-dev4100.310
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.
- package/esm2020/src/ClientManager.mjs +2 -2
- package/esm2020/src/CurrentClientVersion.mjs +2 -2
- package/esm2020/src/remote/RemoteCommandsProcessor.mjs +13 -2
- package/fesm2015/magic-xpa-engine.mjs +14 -3
- package/fesm2015/magic-xpa-engine.mjs.map +1 -1
- package/fesm2020/magic-xpa-engine.mjs +14 -3
- package/fesm2020/magic-xpa-engine.mjs.map +1 -1
- package/package.json +4 -4
- package/src/remote/RemoteCommandsProcessor.d.ts +1 -0
@@ -5797,12 +5797,23 @@ class RemoteCommandsProcessor extends CommandsProcessorBase {
|
|
5797
5797
|
}
|
5798
5798
|
}
|
5799
5799
|
}
|
5800
|
-
|
5800
|
+
this.clearLocalStorage();
|
5801
5801
|
throw ex;
|
5802
5802
|
}
|
5803
5803
|
return response;
|
5804
5804
|
});
|
5805
5805
|
}
|
5806
|
+
clearLocalStorage() {
|
5807
|
+
window.localStorage.removeItem(ConstInterface.LAST_ROUTE_EVENT);
|
5808
|
+
window.localStorage.removeItem(ConstInterface.LAST_ROUTE_EVENT_SRC_TSK);
|
5809
|
+
window.localStorage.removeItem(ConstInterface.LAST_ROUTE_EVENT_ARG_LIST);
|
5810
|
+
window.localStorage.removeItem(ConstInterface.IS_SESSION_REINITIALIZING);
|
5811
|
+
window.localStorage.removeItem(ConstInterface.MAIN_PROG_VIEW);
|
5812
|
+
window.localStorage.removeItem(ConstInterface.GLOBAL_PARAM_LIST);
|
5813
|
+
window.localStorage.removeItem(ConstInterface.ENV_VAR_LIST);
|
5814
|
+
window.localStorage.removeItem(ConstInterface.LAST_EXCEPTION);
|
5815
|
+
window.localStorage.removeItem(ConstInterface.CTX_REMOVED_FROM_SRVR);
|
5816
|
+
}
|
5806
5817
|
HandleErrorResponse(response) {
|
5807
5818
|
try {
|
5808
5819
|
Logger.Instance.WriteServerMessagesToLog("MESSAGE FROM SERVER: " + response);
|
@@ -30345,7 +30356,7 @@ class CommandsTable {
|
|
30345
30356
|
}
|
30346
30357
|
}
|
30347
30358
|
|
30348
|
-
let CurrentClientVersion = '4.1000.0-dev4100.
|
30359
|
+
let CurrentClientVersion = '4.1000.0-dev4100.310';
|
30349
30360
|
|
30350
30361
|
class ClientManager {
|
30351
30362
|
static get Instance() {
|
@@ -30614,7 +30625,7 @@ class ClientManager {
|
|
30614
30625
|
yield MGDataCollection.Instance.addMGData(mgd, 0, true);
|
30615
30626
|
yield ClientManager.Instance.WorkThreadExecution();
|
30616
30627
|
if (Logger.Instance.ShouldLog()) {
|
30617
|
-
Logger.Instance.WriteToLog(OSEnvironment.EolSeq + "Ended on " + DateTimeUtils.ToString(DateTime.Now,
|
30628
|
+
Logger.Instance.WriteToLog(OSEnvironment.EolSeq + "Ended on " + DateTimeUtils.ToString(DateTime.Now, XMLConstants.ERROR_LOG_DATE_FORMAT, Logger.Instance) + OSEnvironment.EolSeq + OSEnvironment.EolSeq, false);
|
30618
30629
|
}
|
30619
30630
|
}
|
30620
30631
|
else {
|