nicolasff/phpredis — pull request #135 by michael-grunder (2012-02-27 04:11:57+00:00)
Title: Send DISCARD in destructor

This is the code that sends a DISCARD in the destructor, if we think we're in MULTI mode.

I'm not overly familiar with the Zend api, so I'm sure there are better places to put this stuff.

That being said, it appears to work, and doesn't seem to introduce any leaks. :)

Cheers
Mike