Skip to content

Commit a5122a4

Browse files
author
Vinayaga Sundar
committed
Merge remote-tracking branch 'amit/Development' into Development
2 parents c41fd0b + 21e7e33 commit a5122a4

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

debug-db/src/main/java/com/amitshekhar/DebugDB.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,5 +68,9 @@ public static void shutDown() {
6868
clientServer = null;
6969
}
7070
}
71+
72+
public static boolean isServerRunning() {
73+
return clientServer != null && clientServer.isRunning();
74+
}
7175

7276
}

debug-db/src/main/java/com/amitshekhar/server/ClientServer.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,5 +84,7 @@ public void run() {
8484
}
8585
}
8686

87-
87+
public boolean isRunning() {
88+
return mIsRunning;
89+
}
8890
}

0 commit comments

Comments
 (0)