Disarm not release D'oh

Former-commit-id: 3e33fbcd351a719126d30405c4dc9209ad381954
This commit is contained in:
John Sully 2020-10-27 06:41:33 +00:00
parent c3ef2f00bb
commit 67003ec714

View File

@ -2233,7 +2233,7 @@ void beforeSleep(struct aeEventLoop *eventLoop) {
/* Handle TLS pending data. (must be done before flushAppendOnlyFile) */ /* Handle TLS pending data. (must be done before flushAppendOnlyFile) */
if (tlsHasPendingData()) { if (tlsHasPendingData()) {
locker.release(); locker.disarm();
tlsProcessPendingData(); tlsProcessPendingData();
locker.arm(); locker.arm();
} }