StalderT hace 7 años
padre
commit
7ea64edf7d
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      src/server/ua_services_securechannel.c

+ 1 - 0
src/server/ua_services_securechannel.c

@@ -54,4 +54,5 @@ Service_CloseSecureChannel(UA_Server *server, UA_SecureChannel *channel) {
     UA_LOG_INFO_CHANNEL(server->config.logger, channel, "CloseSecureChannel");
     UA_SecureChannelManager_close(&server->secureChannelManager,
                                   channel->securityToken.channelId);
+    channel->connection->close(channel->connection);
 }