Merge pull request #36 from ZeroBrain/fix_diconnect_in_polling
NullPointException, in PollingXHR$Request.create()
This commit is contained in:
@@ -219,6 +219,9 @@ public class PollingXHR extends Polling {
|
||||
}
|
||||
} catch (IOException e) {
|
||||
self.onError(e);
|
||||
} catch (NullPointerException e) {
|
||||
// It would occur to disconnect
|
||||
self.onError(e);
|
||||
} finally {
|
||||
try {
|
||||
if (output != null) output.close();
|
||||
|
||||
Reference in New Issue
Block a user