@nsshunt/stsuxvue 1.0.77 → 1.0.78
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/dist/stsuxvue.cjs
CHANGED
|
@@ -10538,7 +10538,7 @@ const _sfc_main$1 = /* @__PURE__ */ vue.defineComponent({
|
|
|
10538
10538
|
};
|
|
10539
10539
|
const UpdateModelCursor = () => {
|
|
10540
10540
|
const subscriptions2 = reactiveNavigationSubscriptions.currentSubscriptions;
|
|
10541
|
-
if (subscriptions2) {
|
|
10541
|
+
if (socketClientSubscriber && subscriptions2) {
|
|
10542
10542
|
socketClientSubscriber.UpdateModelCursor(subscriptions2);
|
|
10543
10543
|
}
|
|
10544
10544
|
};
|
|
@@ -10580,9 +10580,17 @@ const _sfc_main$1 = /* @__PURE__ */ vue.defineComponent({
|
|
|
10580
10580
|
Stop();
|
|
10581
10581
|
});
|
|
10582
10582
|
let tab = vue.ref(null);
|
|
10583
|
-
const Stop = () => {
|
|
10583
|
+
const Stop = async () => {
|
|
10584
10584
|
LogDebug(`Stop()`);
|
|
10585
10585
|
store.UpdateSate(props.modelId, _estate.STOPPING);
|
|
10586
|
+
if (socketClientSubscriber) {
|
|
10587
|
+
if (reactiveNavigationSubscriptions.currentSubscriptions) {
|
|
10588
|
+
socketClientSubscriber.UnSubscribe(reactiveNavigationSubscriptions.currentSubscriptions);
|
|
10589
|
+
await stsutils.Sleep(250);
|
|
10590
|
+
}
|
|
10591
|
+
socketClientSubscriber.socket?.disconnect();
|
|
10592
|
+
socketClientSubscriber = void 0;
|
|
10593
|
+
}
|
|
10586
10594
|
store.UpdateSate(props.modelId, _estate.IDLE);
|
|
10587
10595
|
};
|
|
10588
10596
|
const Start = async (options) => {
|