in dnq-transient-store/src/main/kotlin/com/jetbrains/teamsys/dnq/database/TransientEntityStoreImpl.kt [134:144]
override fun resumeSession(session: TransientStoreSession?) {
if (session != null) {
assertOpen()
val current = currentSession.get()
if (current != null && current != session) {
throw IllegalStateException("Another open transient session is already associated with current thread")
}
currentSession.set(session)
}
}