diff --git a/Unity/OpenSee.cs b/Unity/OpenSee.cs index a95264d..f3bfab3 100644 --- a/Unity/OpenSee.cs +++ b/Unity/OpenSee.cs @@ -187,6 +187,8 @@ public class OpenSee : MonoBehaviour { receiveThread.Join(); stopReception = false; } + if (socket != null) + socket.Close(); } }