Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

java catch stop signal

Runtime.getRuntime().addShutdownHook(new Thread(() -> System.out.println("Game over")));
 
PREVIOUS NEXT
Tagged: #java #catch #stop #signal
ADD COMMENT
Topic
Name
1+7 =