zeromq/clrzmq — pull request #76 by aaron-viviano (2012-07-20 18:18:59+00:00)
Title: Fix for bad pointer exception with LIBZMQ

Hello,
This change fixes an issue where both the send and receive portions of a socket were using the same object in memory to store their messages, which would cause LIBZMQ to crash. The crash occurs under heavy usage as a socket sends and receives messages simultaneously and the message is deleted by the send or receive functions when the other function is still using the message.

This change prevents the send and receive from ever owning the same message object.

Aaron