pressf12/pubnub — pull request #2 by martindevans (2012-06-03 01:50:27+00:00)
Title: Fix accessing a disposed handle

Fix for https://github.com/pressf12/pubnub/issues/1

pubnub request kept accessing a disposed handle due to a race condition
in the handling of asynchronously getting a request stream, solved this
by using the synchronous calls. This has no external impact on the
operation of the system since the handle was used to make the
asynchronous calls act synchronously anyway