fixed timeout
This commit is contained in:
parent
30cc07227e
commit
788337dd55
|
@ -99,8 +99,8 @@ Timeout all requests when the end/error event is fired
|
||||||
@method _timeout
|
@method _timeout
|
||||||
*/
|
*/
|
||||||
IpcProvider.prototype._timeout = function() {
|
IpcProvider.prototype._timeout = function() {
|
||||||
for(key in this.responseCallbacks) {
|
for(var key in this.responseCallbacks) {
|
||||||
if(this.responseCallback.hasOwnProperty(key)){
|
if(this.responseCallbacks.hasOwnProperty(key)){
|
||||||
this.responseCallbacks[key](errorTimeout.replace('__id__', key).replace('__method__', this.responseCallbacks[key].method));
|
this.responseCallbacks[key](errorTimeout.replace('__id__', key).replace('__method__', this.responseCallbacks[key].method));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue