Description
I'm using the ActiveMQ library as a simple message consumer listening to topics. The other day a service restarted due to an unexpected error.
Upon further inspection I saw in the eventlogs the following entry (see stacktrace below). Unfortunately I don't have any more information about that incident. The crash is also not reproducible.
- Application: Server.Service.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.ObjectDisposedException
at System.Runtime.InteropServices.SafeHandle.DangerousAddRef(Boolean ByRef)
at System.StubHelpers.StubHelpers.SafeHandleAddRef(System.Runtime.InteropServices.SafeHandle, Boolean ByRef)
at Microsoft.Win32.Win32Native.SetEvent(Microsoft.Win32.SafeHandles.SafeWaitHandle)
at System.Threading.EventWaitHandle.Set()
at Apache.NMS.Util.CountDownLatch.countDown()
at Apache.NMS.ActiveMQ.Transport.TransportFilter.Finalize()