Skip to content

Commit

Permalink
Remove thread.join() from getControllers() as it causes a deadlock
Browse files Browse the repository at this point in the history
  • Loading branch information
Valkryst committed Oct 26, 2023
1 parent cfddbcc commit 454c65c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/main/java/com/valkryst/VController/HotSwapPoller.java
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,6 @@ private List<Controller> getControllers() throws ClassNotFoundException, Illegal
for (final var thread : Thread.getAllStackTraces().keySet()) {
if (Arrays.asList(JINPUT_THREADS_TO_KILL).contains(thread.getClass().getName())) {
thread.interrupt();
thread.join();
break;
}
}
Expand Down

0 comments on commit 454c65c

Please sign in to comment.