Skip to content

Commit dfa990f

Browse files
committed
connection not registered
1 parent ba44c05 commit dfa990f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Connection/Opening.vb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ Partial Public MustInherit Class Connection
5454
processAndThreadLock.ExitUpgradeableReadLock()
5555
' create new connection record
5656
connection = Databasic.Connection._createAndOpen(connectionIndex.Value)
57+
processAndThreadConnections.Add(connectionIndex.Value, connection)
5758
' D. write lock end - to change process and thread record under called index
5859
processAndThreadLock.ExitWriteLock()
5960
End If
@@ -92,6 +93,7 @@ Partial Public MustInherit Class Connection
9293
processAndThreadLock.ExitUpgradeableReadLock()
9394
' create new connection record
9495
connection = Databasic.Connection._createAndOpen(connectionIndex.Value)
96+
processAndThreadConnections.Add(connectionIndex.Value, connection)
9597
' D. write lock end - to change process and thread record under called index
9698
processAndThreadLock.ExitWriteLock()
9799
End If

0 commit comments

Comments
 (0)