Make sure connection is closed on error

v1.1
Pierrick Charron 2014-12-07 14:40:23 -05:00
parent 189b8dcfc2
commit d37e34917d
1 changed files with 0 additions and 1 deletions

View File

@ -565,7 +565,6 @@ PHP_FUNCTION(stomp_connect)
}
stomp_free_frame(res);
RETURN_FALSE;
}
} else if (0 != strncmp("CONNECTED", res->command, sizeof("CONNECTED")-1)) {
if (stomp->error) {