Skip to content

Commit

Permalink
Update EventManage.java
Browse files Browse the repository at this point in the history
  • Loading branch information
mcchampions committed Aug 5, 2023
1 parent 53f250b commit 4ced8ea
Showing 1 changed file with 1 addition and 17 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -77,23 +77,7 @@ public static Map<Class<? extends Event>, Set<RegisteredListener>> createRegiste
}
return ret;
}

public static void main(String... args) throws InterruptedException {
CompletableFuture.allOf(CompletableFuture.runAsync(()-> {
System.out.println("Abcvb");
try {
Thread.sleep(1000);
} catch (InterruptedException e) {
throw new RuntimeException(e);
}
System.out.println("a");
while (true) {
System.out.println("1");
}
}));
System.out.println("1");
Thread.sleep(10000);
}

private static boolean isInit = false;

/**
Expand Down

0 comments on commit 4ced8ea

Please sign in to comment.