diff options
author | Benoit Foucher <benoit@zeroc.com> | 2019-09-03 16:54:16 +0200 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2019-09-03 16:54:28 +0200 |
commit | 3a0366354071a3acfdf93158732938f943339d65 (patch) | |
tree | af319b72556ba9736063447f48dc5324a0c57c81 /js/src | |
parent | Fixes for slice2py forward declarations - Close #490 (diff) | |
download | ice-3a0366354071a3acfdf93158732938f943339d65.tar.bz2 ice-3a0366354071a3acfdf93158732938f943339d65.tar.xz ice-3a0366354071a3acfdf93158732938f943339d65.zip |
Fixed retry bug with -2 invocation timeout, fixes #501
Diffstat (limited to 'js/src')
-rw-r--r-- | js/src/Ice/AsyncResult.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/js/src/Ice/AsyncResult.js b/js/src/Ice/AsyncResult.js index bf80d54681e..622e93eff24 100644 --- a/js/src/Ice/AsyncResult.js +++ b/js/src/Ice/AsyncResult.js @@ -101,11 +101,14 @@ class AsyncResult extends AsyncResultBase cancelWithException(ex) { - this._cancellationException = ex; if(this._cancellationHandler) { this._cancellationHandler.asyncRequestCanceled(this, ex); } + else + { + this._cancellationException = ex; + } } cancelable(handler) |