We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3c77188 commit b7e1ccfCopy full SHA for b7e1ccf
IHP/PGListener.hs
@@ -164,6 +164,7 @@ unsubscribe subscription@(Subscription { .. }) pgListener = do
164
deleteById :: [Subscription] -> [Subscription]
165
deleteById = List.deleteBy (\a b -> get #id a == get #id b) subscription
166
modifyIORef' (get #subscriptions pgListener) (HashMap.adjust deleteById channel)
167
+ uninterruptibleCancel reader
168
pure ()
169
170
-- | Runs a @LISTEN ..;@ statements on the postgres connection, if not already listening on that channel
0 commit comments