File tree Expand file tree Collapse file tree
vcell-apiclient/src/main/java/org/vcell/api/server Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -88,7 +88,7 @@ public AsynchMessageManager(ClientServerManager csm) {
8888 * no-op if already called
8989 */
9090public synchronized void startPolling () {
91- if (!bPoll .get ()) {
91+ if (!bPoll .get () && ! clientServerManager . isVCellClientDevMain () ) {
9292 bPoll .set (true );
9393 if (executorService == null ) {
9494 executorService = VCellExecutorService .get ();
Original file line number Diff line number Diff line change @@ -45,7 +45,11 @@ public class ClientServerManager implements ClientServerInterface {
4545 private final static Logger lg = LogManager .getLogger (ClientServerManager .class );
4646 private final VCellConnectionFactory vcellConnectionFactory ;
4747 public final Auth0ConnectionUtils auth0ConnectionUtils ;
48-
48+
49+ public boolean isVCellClientDevMain () {
50+ return !(vcellConnectionFactory instanceof RemoteProxyVCellConnectionFactory );
51+ }
52+
4953 public interface InteractiveContextDefaultProvider {
5054 InteractiveClientServerContext getInteractiveContext ();
5155 }
You can’t perform that action at this time.
0 commit comments