Hello
I think a control is missing in the MailSlotReader.Listen method
I think a check if the object has been disposes is required to avoid SEHException when closing file. I changed code like this
if (!disposed)
{
// error so clode handle and re-open
Native.CloseHandle(fileHandle);
fileHandle = IntPtr.Zero;
}
Thanks for letting me know. I'm actually removing the mailslots implementation as they are too unreliable. The next version will use Amazon queues instead.
Hello I think a control is missing in the MailSlotReader.Listen method I think a check if the object has been disposes is required to avoid SEHException when closing file. I changed code like this
Am I correct?