You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Dequeue operations are permitted (and in many cases very much
necessary) after Close() until the queue is drained. Since Dispose()
calls Close() (and what else would it do?), we would be left with an
object that has been disposed but must still be useable. While there
is nothing technically stopping that from happening, it constitutes a
departure from the intent of IDisposable.
0 commit comments