wttw/zeromqt — pull request #6 by ocr (2011-12-04 16:31:51+00:00)
Title: Fix the singleton in ZmqContext::instance

There was a small bug in ZmqContext's singleton, leading to the creation of a new context every time a ZmqSocket was instantiated.

Here is a trivial fix for it.

There remains a problem for deallocation. As far as I can tell, the ZmqContext is never destroyed, but at least right now there is only at most one per application.