Results 17 comments of xboPro

> The hubConnection in this class will always reconnect once it's disconnected. > So if you instantiate the class more and more, you will get more and more connections. >...

> The hubConnection in this class will always reconnect once it's disconnected. > So if you instantiate the class more and more, you will get more and more connections. >...

> What about the OutOfMemoryError problem? Is it mitigated Yes , it's mitigated .

The OutOfMemoryError problem is mitigated after I removed my reconnection code . But , I can't get the state "CONNECTED" again if I received the close event . How can...

Thanks for your solutions . I will try to record the count of my restart count .Then release and recreate the hubconnection when the count reaches the preset number ....