Free, Open Source, Self-Hosted WhatsApp API Gateway
TypeScript apibotgatewayself-hostedwhatsappwhatsapp-apiwhatsapp-automationwhatsapp-botwhatsapp-gatewaywhatsapp-gateway-apiwhatsapp-webwhatsapp-web-api
docs(session): drop a stale line number from the markStopping comment
Yudhi Armyndharisa2f56bfcf046
diff --git a/src/modules/session/session-engine-lifecycle.service.ts b/src/modules/session/session-engine-lifecycle.service.tsindex 0f0055b2a..f82d95cb0 100644--- a/src/modules/session/session-engine-lifecycle.service.ts+++ b/src/modules/session/session-engine-lifecycle.service.ts@@ -493,7 +493,7 @@ export class SessionEngineLifecycle {* Set the tearing-down mark synchronously, before any awaited work a retiring control performs.** The pre-initialize retirement race turns on this mark being visible to initializeEngine's- * post-INITIALIZING check (line ~507) by the time that awaited DB write settles. stop()/delete()+ * post-INITIALIZING stop-mark check by the time that awaited DB write settles. stop()/delete()* both add the mark internally, but only AFTER their own first await (requireSession /* awaitPendingTeardown), and the ownership fence added another await ahead of them — so the mark* could land after the window it guards. Exposing it lets SessionService set it at true entry,