Plugging memory leak

Apparently assigning a property to an object will prevent the object from being destroyed.
Thanks to @igorw to finding this memory leak
This commit is contained in:
Chris Boden 2012-07-13 00:55:15 -04:00
parent 1e298c634b
commit 3c617d96a2

View File

@ -87,6 +87,8 @@ class IoServer {
} catch (\Exception $e) {
$this->handleError($e, $conn);
}
unset($conn->decor);
}
public function handleError(\Exception $e, $conn) {