Skip to content

Commit d6e9eb9

Browse files
committed
Remove double cleanup. Closes hapijs#283
1 parent e3904d2 commit d6e9eb9

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

API.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# 11.0.x API Reference
1+
# 11.2.x API Reference
22

33
- [Registration](#registration)
44
- [Server](#server)

lib/listener.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -543,8 +543,6 @@ internals.Subscribers.prototype.remove = async function (socket, path) {
543543
const itemPath = item.paths[i];
544544
await this._remove(socket, itemPath, item.params[i]);
545545
}
546-
547-
this._cleanup(socket, item);
548546
}
549547

550548
return;

0 commit comments

Comments
 (0)