[ServiceStack - REDIS] what is the right way to dispose servicestack redis?

443 views
Skip to first unread message

Heriyanto Binduni

unread,
Jan 15, 2012, 11:03:15 PM1/15/12
to servic...@googlegroups.com
hi, can you help me please?.
what is the right way to dispose servicestack redis? i have dispose problem with servicestack redis as i describe in here

thanks.

Demis Bellot

unread,
Jan 15, 2012, 11:11:04 PM1/15/12
to servic...@googlegroups.com
What's the StackTrace say?

If you're using a PooledRedisClientsManager, disposing the RedisClient just frees it up to put back into the pool, you'll need to dispose the RedisClientsManager yourself if you want to dispose all pooled redis clients:

Note: all the source code for the C# RedisClient is available from here: 

If you're having interoperability problems I recommend downloading and debugging from src.


Cheers,

Heriyanto Binduni

unread,
Jan 17, 2012, 8:09:32 PM1/17/12
to servic...@googlegroups.com
i'm using PooledRedisClientsManager. and nothing come-up to the IDE screen, it freeze my application but it seem if i have just not disposing the redis client and subscription, it just fine. but i hate to have some warning: object should be dispose on my code rush IDE.

anyway, thanks for great work.
Reply all
Reply to author
Forward
0 new messages