This commit is contained in:
David Ochsner 2025-02-12 14:18:59 +00:00 committed by GitHub
commit 1128fe3e33
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -72,12 +72,6 @@ class RedisQtAdapter : public QObject {
RedisQtAdapter(QObject * parent = 0)
: QObject(parent), m_ctx(0), m_read(0), m_write(0) { }
~RedisQtAdapter() {
if (m_ctx != 0) {
m_ctx->ev.data = NULL;
}
}
int setContext(redisAsyncContext * ac) {
if (ac->ev.data != NULL) {
return REDIS_ERR;