The UDP socket is now actually closed when the OpenSee component is destroyed.

This commit is contained in:
Emiliana 2020-02-16 01:46:35 +01:00
parent 05a9be7b71
commit c2eb544096

View file

@ -187,6 +187,8 @@ public class OpenSee : MonoBehaviour {
receiveThread.Join();
stopReception = false;
}
if (socket != null)
socket.Close();
}
}