Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (!(mState & XML_HTTP_REQUEST_ASYNC)) {
- nsIThread *thread = NS_GetCurrentThread();
- while (mState & XML_HTTP_REQUEST_SYNCLOOPING) {
- if (!NS_ProcessNextEvent(thread)) {
- rv = NS_ERROR_UNEXPECTED;
- break;
- }
- }
- }
Add Comment
Please, Sign In to add comment