Merge 956f69ffdb into 77bcc73ebb
This commit is contained in:
commit
1128fe3e33
@ -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;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user