Destroy agent on disconnect; another agent can connect later

This commit is contained in:
Petr Baudis 2011-11-26 23:59:31 +01:00
parent cd347a316d
commit 6a3d9b2e4a
3 changed files with 8 additions and 1 deletions

View file

@ -8,6 +8,7 @@
class connection {
public:
int fd;
bool error;
connection(int fd_) : fd(fd_) {}