Skip to content

Commit 1161284

Browse files
fixed scope
1 parent f99126d commit 1161284

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

PauseWrapper.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Object.assign(PauseWrapper.prototype, {
3333
_onResumeCb: function (cb, handler) {
3434
var scope = this
3535
this._onResume(function () {
36-
handler.call(this, function (err, data) {
36+
handler.call(scope, function (err, data) {
3737
scope._onResume(function () {
3838
if (!cb) return
3939
cb.call(scope, err, data)

0 commit comments

Comments
 (0)