Skip to content
This repository was archived by the owner on Feb 12, 2024. It is now read-only.

Commit 558017d

Browse files
richardschneiderdaviddias
authored andcommitted
fix(pubsub): subscribe promises (#1141)
1 parent 0444c42 commit 558017d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/components/pubsub.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ module.exports = function pubsub (self) {
2424
}
2525

2626
self._pubsub.on(topic, handler)
27-
setImmediate(() => callback())
27+
setImmediate(cb)
2828
}
2929

3030
if (!callback) {

0 commit comments

Comments
 (0)