Skip to content

Commit

Permalink
Fixed issue #995.
Browse files Browse the repository at this point in the history
  • Loading branch information
nilsschmidt1337 committed Oct 7, 2023
1 parent c00b3c6 commit 6681681
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/org/nschmidt/ldparteditor/data/VM00Base.java
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ public final void syncWithTextEditors(boolean addHistory) {
return;
}
final AtomicInteger tid2 = new AtomicInteger(tid.incrementAndGet());
final Thread syncThread = new Thread(() -> {
Thread.ofVirtual().start(() -> {
openThreads.incrementAndGet();
do {
if (skipTimer.get()) {
Expand Down Expand Up @@ -339,7 +339,6 @@ public final void syncWithTextEditors(boolean addHistory) {
}
}
});
syncThread.start();
} finally {
try {
lock.unlock();
Expand Down

0 comments on commit 6681681

Please sign in to comment.