[ 1801842 ] DB connection fix & improvements for concurrent threads
- Fixed potential infinity loop
This commit is contained in:
parent
73814632f3
commit
877664d66d
|
@ -1466,6 +1466,9 @@ public final class DB
|
|||
*/
|
||||
public static boolean isRemoteObjects()
|
||||
{
|
||||
//avoid infinite loop
|
||||
if (s_cc == null) return false;
|
||||
|
||||
return CConnection.get().isServerObjects()
|
||||
&& CConnection.get().isAppsServerOK(false);
|
||||
} // isRemoteObjects
|
||||
|
|
Loading…
Reference in New Issue