mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-01-09 17:27:38 +00:00
Fixes #30
This commit is contained in:
parent
1503ba94a4
commit
c6ce0c773f
@ -530,7 +530,13 @@ public class EditSession extends AbstractDelegateExtent implements HasFaweQueue,
|
|||||||
this.extent = nullExtent;
|
this.extent = nullExtent;
|
||||||
bypassAll = nullExtent;
|
bypassAll = nullExtent;
|
||||||
dequeue();
|
dequeue();
|
||||||
queue.clear();
|
if (!queue.isEmpty()) {
|
||||||
|
if (Fawe.isMainThread()) {
|
||||||
|
queue.clear();
|
||||||
|
} else {
|
||||||
|
SetQueue.IMP.addTask(() -> queue.clear());
|
||||||
|
}
|
||||||
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user