Ejemplo n.º 1
0
 /// <summary>
 /// Close the context and free applicable resources.
 /// <para>
 /// If <seealso cref="OwnsAeronClient()"/> is true then the <seealso cref="Aeron()"/> client will be closed.
 /// </para>
 /// </summary>
 public void Dispose()
 {
     if (_ownsAeronClient)
     {
         _aeron.Dispose();
     }
 }
Ejemplo n.º 2
0
            /// <summary>
            /// Close the context and free applicable resources.
            /// <para>
            /// If <seealso cref="OwnsAeronClient()"/> is true then the <seealso cref="Aeron()"/> client will be closed.
            /// </para>
            /// </summary>
            public void Dispose()
            {
                markFile?.Dispose();

                if (ownsAeronClient)
                {
                    aeron?.Dispose();
                }
            }
Ejemplo n.º 3
0
            /// <summary>
            /// Close the context and free applicable resources.
            /// <para>
            /// If <seealso cref="OwnsAeronClient()"/> is true then the <seealso cref="Aeron()"/> client will be closed.
            /// </para>
            /// </summary>
            public void Dispose()
            {
                CloseHelper.QuietDispose(markFile);

                if (ownsAeronClient)
                {
                    aeron?.Dispose();
                }
            }