Skip to content

Commit 2d0d881

Browse files
author
Devendra
committed
moving shutdown to thread
1 parent bd4ad82 commit 2d0d881

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎java/srcPubnubApi/com/pubnub/api/RequestManager.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,6 @@ void setRequestTimeout(int timeout) {
5353

5454
void die() {
5555
_die = true;
56-
shutdown();
5756
}
5857

5958
abstract void process(HttpRequest hreq);
@@ -82,6 +81,7 @@ public void run() {
8281
}
8382
}
8483
} while (!_die);
84+
shutdown();
8585
}
8686
}
8787

0 commit comments

Comments
 (0)