1. 0.3.3 bug fix
This commit is contained in:
parent
c192fcf954
commit
b0701543b1
|
@ -17,7 +17,8 @@ public class Main {
|
|||
public static void main(String[] args) {
|
||||
|
||||
log.info(" 当前系统类型: {}", SystemUtils.getOsName());
|
||||
try (AppLocker locker = AppLocker.create("aoheSaneServiceLock").build()){
|
||||
AppLocker locker = AppLocker.create("aoheSaneServiceLock").build();
|
||||
try {
|
||||
//启动锁,只允许启动一个
|
||||
locker.lock();
|
||||
|
||||
|
|
Loading…
Reference in New Issue