unsubscribeWSChannel(channel); } } catch (err) { console.error("Failed to send unsubscribe message:", err); } socket.removeEventListener("message", handleWSChannelMsg)}) }, [socket]) } 0 comments on commit f8e409c Please sign in to comment. Footer...