Skip to content

Commit 81537ea

Browse files
committed
Merge branch 'deduplicate' into channels2
2 parents 9a2aca3 + ae0b0c7 commit 81537ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

graphql_ws/base_async.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ async def on_start(self, connection_context, op_id, params):
165165
except Exception as e:
166166
await self.send_error(connection_context, op_id, e)
167167
await self.send_message(connection_context, op_id, GQL_COMPLETE)
168-
connection_context.remove_operation(op_id)
168+
await connection_context.unsubscribe(op_id)
169169
await self.on_operation_complete(connection_context, op_id)
170170

171171
async def send_message(

0 commit comments

Comments
 (0)