Skip to content

Commit 4275a13

Browse files
committed
Reset connection credentials on connection close.
1 parent f4b0979 commit 4275a13

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/shared/services/bolt/bolt.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,10 @@ function getWorkerFinalizer (workerRegister, cancellationRegister, workerId) {
111111
export default {
112112
directConnect: boltConnection.directConnect,
113113
openConnection,
114-
closeConnection: boltConnection.closeConnection,
114+
closeConnection: () => {
115+
connectionProperties = null
116+
boltConnection.closeConnection()
117+
},
115118
directTransaction: boltConnection.directTransaction,
116119
routedReadTransaction: boltConnection.routedReadTransaction,
117120
routedWriteTransaction,

0 commit comments

Comments
 (0)