arashnorouzi / Moon-APNS

A free open source c# library for sending Apple Push Notifications in any .net application.
http://arashnorouzi.wordpress.com
90 stars 45 forks source link

Threading/wait problem #6

Open joco73 opened 12 years ago

joco73 commented 12 years ago

Hi,

If we send messages (often when we have more than one payload) we get the following message in the log: "20120126 1109 - Error - An error occurred while reading Apple response for token xxxx - Safe handle has been closed"

The message still often get delivered, but would be great to know why and if it could be a problem.

Googling on "Safe handle has been closed" it seems to be a problem with the underlying API (TCP/IP) that is not finnished when close/dispose is run in the package code.

/Jonathan