mirror of
https://github.com/linuxserver/core.git
synced 2026-02-20 05:07:19 +08:00
Make sure done is called async
This commit is contained in:
parent
8b2cb0ff89
commit
79bf780863
@ -1162,7 +1162,10 @@ define(function(require, module, exports) {
|
||||
});
|
||||
}
|
||||
else {
|
||||
done(null, null);
|
||||
// done has to be called asynchronously
|
||||
setTimeout(function() {
|
||||
done(null, null);
|
||||
});
|
||||
}
|
||||
|
||||
return tab;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user