cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Staci Cooper <>
Subject network-information memory leak
Date Fri, 20 Jun 2014 20:20:12 GMT
I found another memory leak in windows phone. This time it involves the
network information plugin.

I found a fix:

But I'm not sure I understand why it works. In addition to unsubscribing
from some event handlers, it involves the getConnectionInfo function in
NetworkStatus.js, which takes a string parameter called 'empty' that it
does nothing with. If I get rid of that parameter the leak disappears.

Does anybody know why it was there in the first place? I didn't see any
problems after deleting it, but it seems odd.

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message