fixed bug
This commit is contained in:
parent
418d2fde0c
commit
a5ce8b568d
1 changed files with 1 additions and 1 deletions
|
@ -130,8 +130,8 @@ namespace websockets {
|
|||
break;
|
||||
case LWS_CALLBACK_CLOSED:
|
||||
if(verbose) lwsl_notice("Connection closed (%p, %p)\n", this, user_ptr);
|
||||
user.~user_type();
|
||||
close_func(user, binfo);
|
||||
user.~user_type();
|
||||
break;
|
||||
case LWS_CALLBACK_SERVER_WRITEABLE:{
|
||||
std::string string_to_send = write_func(user, binfo);
|
||||
|
|
Reference in a new issue