Documentation
    Preparing search index...

    Function notifyServiceWindowDestroyed

    • Notify all registered service handlers that a napplet window was destroyed. Calls onWindowDestroyed() on every handler that implements it. This is a raw broadcaster with no deduplication; Runtime itself notifies through a per-registration tracker so services hear one destroy per session registration (kehto/web#498). Errors in individual handlers are caught and silently ignored to prevent one service's cleanup failure from blocking others.

      Parameters

      • windowId: string

        The destroyed napplet's window identifier

      • services: ServiceRegistry

        The service registry containing all handlers

      Returns void

      notifyServiceWindowDestroyed('window-1', services);