From 6e8f0586450d084a77418bdecf47241e0267a23f Mon Sep 17 00:00:00 2001 From: Paul Fleischer Date: Thu, 10 Apr 2025 15:30:47 +0200 Subject: [PATCH] Stop with :normal reason when receiving :DOWN --- lib/event_store/subscriptions/subscription.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/event_store/subscriptions/subscription.ex b/lib/event_store/subscriptions/subscription.ex index 321b258b..914e6f6f 100644 --- a/lib/event_store/subscriptions/subscription.ex +++ b/lib/event_store/subscriptions/subscription.ex @@ -166,7 +166,7 @@ defmodule EventStore.Subscriptions.Subscription do |> apply_subscription_to_state(state) if unsubscribed?(state) do - {:stop, reason, state} + {:stop, :normal, state} else {:noreply, state} end