-
- Downloads
Bug 1782181 - Part 2: Notify nsMultiplexInputStream callbacks if AsyncWait fails, r=asuth, a=dsmith
When `nsMultiplexInputStream` calls `AsyncWait` from within `OnInputStreamReady`, it is possible for those calls to fail. In that case, we will fail to notify AsyncWait listeners, which could lead to leaks or stream hangs. This patch changes the error handling in this situation to instead fire a pending stream callback after an error when re-dispatching `AsyncWait`. Depends on D153628 Differential Revision: https://phabricator.services.mozilla.com/D153629
Please register or sign in to comment