SIL.Utils.ImagePicture.Dispose C# (CSharp) Method

Dispose() protected method

Releases unmanaged and - optionally - managed resources
protected Dispose ( bool fDisposing ) : void
fDisposing bool true to release both managed and unmanaged /// resources; false to release only unmanaged resources.
return void
		protected virtual void Dispose(bool fDisposing)
		{
			System.Diagnostics.Debug.WriteLineIf(!fDisposing, "****** Missing Dispose() call for " + GetType().Name + ". ****** ");
			if (fDisposing)
			{
				if (m_img != null)
					m_img.Dispose();
			}
			m_img = null;
		}