pub unsafe fn register_active_app(app: *mut App<false>)Expand description
Register a JS-thread-bound uWS App::<false> so has_active_servers()
reports liveness and drain_and_check keeps ticking the loop. Idempotent:
re-registering the same pointer is a no-op (defensive against double
registration in error paths). # Safety: app must be a live *mut App<false>
returned by App::<false>::create, valid until unregister_active_app is
called for it.