diff --git a/lib/livebook/app.ex b/lib/livebook/app.ex index 19ada4d2a..756b7e3c7 100644 --- a/lib/livebook/app.ex +++ b/lib/livebook/app.ex @@ -192,7 +192,7 @@ defmodule Livebook.App do """ @spec unsubscribe(slug()) :: :ok | {:error, term()} def unsubscribe(slug) do - Phoenix.PubSub.subscribe(Livebook.PubSub, "apps:#{slug}") + Phoenix.PubSub.unsubscribe(Livebook.PubSub, "apps:#{slug}") end @impl true