public void ReleasePSMove(PSMoveDataContext DataContext) { if (DataContext.PSMoveID != -1) { DataContext.Clear(); } }
public void ReleasePSMove(PSMoveDataContext DataContext) { if (DataContext.PSMoveID != -1) { DataContext.Clear(); lock (this) { // The worker thread will tear-down the tracker //assert(AcquiredContextCounter > 0); AcquiredContextCounter--; } } }
public void ReleasePSMove(PSMoveDataContext DataContext) { if (DataContext.PSMoveID != -1) { DataContext.Clear(); lock(this) { // The worker thread will tear-down the tracker //assert(AcquiredContextCounter > 0); AcquiredContextCounter--; } } }