We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 52afa42 commit 1f33c66Copy full SHA for 1f33c66
Assets/MixedRealityToolkit/Services/BaseService.cs
@@ -40,6 +40,14 @@ public virtual void Destroy() { }
40
41
#region IDisposable Implementation
42
43
+ /// <summary>
44
+ /// Value indicating if the object has completed disposal.
45
+ /// </summary>
46
+ /// <remarks>
47
+ /// Set by derived classes to indicate that disposal has been completed.
48
+ /// </remarks>
49
+ protected bool disposed = false;
50
+
51
/// <summary>
52
/// Finalizer
53
/// </summary>
@@ -67,7 +75,7 @@ public void Dispose()
67
75
/// True will release all managed resources, unmanaged resources are always released.
68
76
/// </param>
69
77
protected virtual void Dispose(bool disposing) { }
70
-
78
71
79
#endregion IDisposable Implementation
72
80
}
73
81
0 commit comments