DB client write transaction cancel does not flush scheduled updates when cancelling write with no changes
This causes the code to crash in stopReadTransaction later on:
java.lang.AssertionError
at fi.vtt.simantics.procore.internal.State.stopReadTransaction(State.java:196)
at fi.vtt.simantics.procore.internal.SessionRequestManager$2.run(SessionRequestManager.java:149)
at org.simantics.db.impl.query.QueryThread.run(QueryThread.java:251)
because assert (!queryProvider.hasScheduledUpdates());
fails.
Edited by Tuukka Lehtonen