Warning deletion into ChatClient.cpp