From 8284c58509e9b55b78813d5fe37f88f1a945039a Mon Sep 17 00:00:00 2001 From: Yessiest Date: Tue, 9 Jul 2024 00:43:36 +0400 Subject: [PATCH] webshlocket --- lib/landline/extensions/websocket.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/landline/extensions/websocket.rb b/lib/landline/extensions/websocket.rb index 4d035bf..1082328 100644 --- a/lib/landline/extensions/websocket.rb +++ b/lib/landline/extensions/websocket.rb @@ -91,6 +91,7 @@ module Landline ) @io.write(frame.to_s) rescue Errno::EPIPE => e + @writable = false _emit :error, e close nil