summaryrefslogtreecommitdiff
path: root/ext/websocket/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'ext/websocket/lib.rs')
-rw-r--r--ext/websocket/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/websocket/lib.rs b/ext/websocket/lib.rs
index 515f798ac..fad217585 100644
--- a/ext/websocket/lib.rs
+++ b/ext/websocket/lib.rs
@@ -420,7 +420,7 @@ pub async fn op_ws_send(
Ok(())
}
-#[op]
+#[op(deferred)]
pub async fn op_ws_close(
state: Rc<RefCell<OpState>>,
rid: ResourceId,