Skip to content

Commit 7ac7651

Browse files
author
Peter Thor
committed
Added wrongly deleted thus missing call to CloseOmnitrackConnection(). Added updated DLL.
1 parent 478d82e commit 7ac7651

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

Runtime/Plugins/OmnitrackAPI.dll

231 KB
Binary file not shown.

Runtime/Scripts/OmnideckInterface.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -224,6 +224,9 @@ virtual public void Start()
224224
// Shut down the connection to Omnideck
225225
void OnDestroy()
226226
{
227+
Debug.Log("OnDestroy()");
228+
229+
if (CloseOmnitrackConnection() == 0)
227230
{
228231
if (debugLevel != LogLevel.None)
229232
Debug.Log("Closed down communication with Omnideck");

0 commit comments

Comments
 (0)