This commit is contained in:
Daniel 2024-10-25 20:35:29 +08:00
parent 39e21df87e
commit 29f744c7e0
No known key found for this signature in database
GPG key ID: 86211BA83DF03017

View file

@ -57,6 +57,7 @@ func IsMoveOutlineHeading(transactions *[]*Transaction) bool {
}
func FlushTxQueue() {
time.Sleep(time.Duration(50) * time.Millisecond)
for 0 < len(txQueue) || isFlushing {
time.Sleep(10 * time.Millisecond)
}