Terminate thread when done
Signed-off-by: HeshamTB <hishaminv@gmail.com>
This commit is contained in:
parent
810820283f
commit
f4007d7007
@ -136,6 +136,7 @@ public class MakkahCity {
|
|||||||
}
|
}
|
||||||
inputListener.stop();
|
inputListener.stop();
|
||||||
t.interrupt();
|
t.interrupt();
|
||||||
|
System.exit(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
private static void checkInput() {
|
private static void checkInput() {
|
||||||
|
Loading…
Reference in New Issue
Block a user