Dispose pattern in SimpleSpanProcessor, SimpleActivityProcessor, BatchingSpanProcessor and BatchingActivityProcessor needs to be revised. As @reyang mentioned ShutdownAsync is not thread safe, race condition could happen for this.stopping, and it would re-enter to re-execute the same code.
Raised as a part of PR: #755 (comment)