Skip to content

System.ObjectDisposedException: Die Sammlung wurde verworfen. #77

@sronline

Description

@sronline

I get sporadically unhandled exception at:

System.ObjectDisposedException: Die Sammlung wurde verworfen.
Objektname: "BlockingCollection".
bei System.Collections.Concurrent.BlockingCollection1.CheckDisposed() bei System.Collections.Concurrent.BlockingCollection1.TryAddWithNoTimeValidation(T item, Int32 millisecondsTimeout, CancellationToken cancellationToken)
bei System.Collections.Concurrent.BlockingCollection`1.Add(T item)
bei Lawo.Threading.Tasks.AsyncPump.SingleThreadSynchronizationContext.Post(SendOrPostCallback d, Object state) in ember-plus-sharp\Lawo\Threading\Tasks\AsyncPump.cs:Zeile 84.
bei System.Threading.Tasks.SynchronizationContextAwaitTaskContinuation.PostAction(Object state)
bei System.Threading.Tasks.AwaitTaskContinuation.RunCallback(ContextCallback callback, Object state, Task& currentTask)
--- Ende der Stapelüberwachung vom vorhergehenden Ort, an dem die Ausnahme ausgelöst wurde ---
bei System.Threading.Tasks.AwaitTaskContinuation.<>c.b__18_0(Object s)
bei System.Threading.QueueUserWorkItemCallback.WaitCallback_Context(Object state)
bei System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
bei System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
bei System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
bei System.Threading.ThreadPoolWorkQueue.Dispatch()
bei System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()

Seems to occur when ember connection is lost.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions