-
Bug
-
Resolution: Fixed
-
Normal
-
6.5.3
-
None
-
None
When toggle server push instantly, the response of stop comet server push would override the request of start in some situation, the code snippets as shown below:
public static final ExecutorService EXECUTOR_SERVICE = Executors.newSingleThreadExecutor(); @Command public void toggltServerPush() throws InterruptedException { final Desktop desktop = Executions.getCurrent().getDesktop(); desktop.enableServerPush(true); desktop.enableServerPush(false); }