[Fix] Perform observer updates after committing the TX!

This commit is contained in:
Robert von Burg 2023-07-20 16:32:23 +02:00
parent 4e61031ccb
commit 911e9af7e1
Signed by: eitch
GPG Key ID: 75DB9C85C74331F7
1 changed files with 1 additions and 3 deletions

View File

@ -1539,10 +1539,8 @@ public abstract class AbstractTransaction implements StrolchTransaction {
writeChanges();
long auditTrailDuration = writeAuditTrail();
long updateObserversDuration = updateObservers();
// commit and close the connection
commit();
long updateObserversDuration = updateObservers();
handleCommit(start, auditTrailDuration, updateObserversDuration);