$this needs to be passed to shutdown function as a parameter
$this needs to be passed to shutdown function as a parameter

Otherwise shutdown won't have access to private vars (as it's added via register_shutdown_function)

Signed-off-by: Peter Legierski <4b8373d016f277527198385ba72fda0feb5da015@legierski.net>

phpconsole/phpconsole