commit | 9d55649613f6ea9926c6e6222965178e91cb501b | [log] [tgz] |
---|---|---|
author | Etan Cohen <etancohen@google.com> | Thu Aug 11 14:23:23 2016 -0700 |
committer | Etan Cohen <etancohen@google.com> | Thu Aug 18 10:38:05 2016 -0700 |
tree | 18a93fa6234f691be70de0e4fc6c16b7f60622b2 | |
parent | 009b1fcb85ab8f8eb4ab5f3e125127b449df77cb [diff] |
[NAN] Update finalize to check and warn user if resources not freed Use CloseGuard to check that disconnect() is called to free the resources allocated by connect(). finalize() will still call disconnect() but now also print out errors (if StrictMode enabled for feature). Bug: 28068773 Change-Id: I5f5847c0261ef9f79a21fdb935509a85761591cc