From 9578ac3cc27f9f72a9bc2dba83a0819f2d59a7d6 Mon Sep 17 00:00:00 2001 From: Christopher Date: Sun, 5 Apr 2020 12:13:46 -0500 Subject: [PATCH] properly transition from unregister --- lib/router/session.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/router/session.ex b/lib/router/session.ex index 42fb4ad..97555fc 100644 --- a/lib/router/session.ex +++ b/lib/router/session.ex @@ -378,7 +378,7 @@ defmodule Wampex.Router.Session do regs = RealmSession.unregister(db, realm, {registration_id, {self(), Node.self()}}, regs) send_to_peer(Dealer.unregistered(%Unregistered{request_id: request_id}), tt, t) - {:ok, %SL{sl | data: %Sess{data | registrations: regs}}} + {:ok, %SL{sl | data: %Sess{data | registrations: regs}}, [{:next_event, :internal, :transition}]} end @impl true -- 2.45.3