Git Product home page Git Product logo

Comments (3)

andyedinborough avatar andyedinborough commented on June 7, 2024

I'm really sorry about this. I merged a pull request without fulling testing it. I'm working on it now.

Andy

-----Original Message-----
From: Waldo2k2 [mailto:[email protected]]
Sent: Thursday, December 29, 2011 12:16 PM
To: Andy Edinborough
Subject: [aenetmail] InvalidOperationException on ImapClient.Dispose (#15)

After upgrading to version 1.5 from Nuget, I receive the following error when calling Dispose on an ImapClient:

System.InvalidOperationException was unhandled
  Message=The collection has been marked as complete with regards to additions.
  Source=System
  StackTrace:
       at System.Collections.Concurrent.BlockingCollection`1.TryAddWithNoTimeValidation(T item, Int32 millisecondsTimeout, CancellationToken cancellationToken)
       at System.Collections.Concurrent.BlockingCollection`1.Add(T item)
       at AE.Net.Mail.TextClient.ReceiveData() in C:\repos\AE.Net.Mail\TextClient.cs:line 87
       at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
       at System.Threading.ThreadHelper.ThreadStart()
  InnerException: 

The exception is thrown from ReceiveData in TextClient after ReadThread.Join is called from Disconnect. When attempting to set a breakpoint the debugger refuses to break in the ReceiveData function before the exception is thrown, so I can't give you much more info than that.


Reply to this email directly or view it on GitHub:
#15

from aenetmail.

petersondrew avatar petersondrew commented on June 7, 2024

Awesome, will the next package you publish to Nuget include the improved IDLE support without the need to manually call noop?

from aenetmail.

andyedinborough avatar andyedinborough commented on June 7, 2024

Yes. I've just pushed fixes for the threading issues, and published to Nuget as well.

from aenetmail.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.