src/HarmonyHub/StreamParser.cs
/// <summary>
/// Releases all resources used by the current instance of the XmppIm
/// class, optionally disposing of managed resource.
/// </summary>
/// <param name="disposing">true to dispose of managed resources, otherwise
/// false.</param>
Releases all resources used by the current instance of the XmppIm
class, optionally disposing of managed resource.
Releases all resources used by the current instance of the XmppIm class optionally disposing of managed resource .
protected virtual void Dispose(bool disposing)
        {
            if (!_disposed)
            {
                _disposed = true;
                if (disposing)
                {
                    _reader.Close();
                    if (!_leaveOpen)
                        _stream.Close();
                }
            }
        }
protected virtual void Dispose ( bool disposing ) { if ( ! _disposed ) { _disposed = true ; if ( disposing ) { _reader . Close ( ) ; if ( ! _leaveOpen ) _stream . Close ( ) ; } } }
Releases all resources used by the current instance of the XmppIm
class, optionally disposing of managed resource.
Releases all resources used by the current instance of the XmppIm class optionally disposing of managed resource .
// Indicate that the instance has been disposed. // Get rid of managed resources.
disposing
bool
true to dispose of managed resources, otherwise
false.
true to dispose of managed resources otherwise false .