Skip to content

Commit

Permalink
update_demo
Browse files Browse the repository at this point in the history
  • Loading branch information
xuhaotony committed Sep 17, 2018
1 parent 3cd0c59 commit 5375f78
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ private void initManager() {
mOkOptions = new OkSocketOptions.Builder()
.setReconnectionManager(new NoneReconnect())
.setWritePackageBytes(1024)
.setCallbackInThread(true)
.setCallbackInThread(false)
.build();
mManager = OkSocket.open(mInfo).option(mOkOptions);
mManager.registerReceiver(adapter);
Expand Down

0 comments on commit 5375f78

Please sign in to comment.