StalderT 7 anni fa
parent
commit
7ea64edf7d
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  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);
 }