Suggest a feature
×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: Java
Posted by: Jc Hong
Added: Feb 17, 2021 9:43 AM
Views: 3
Tags: no tags
  1.         Runtime.getRuntime().addShutdownHook(new Thread(() -> {
  2.             // 자원 정리등
  3.         }));