文件名称:leaked-handles:检测节点中泄漏的任何句柄
文件大小:11KB
文件格式:ZIP
更新时间:2024-07-06 18:22:03
JavaScript
泄露的句柄 检测节点中泄漏的任何句柄 例子 require ( "leaked-handles" ) ; 示例输出。 no of handles 1 timer handle (`setTimeout(any, 1000)`) timer handle leaked at one of: at Test.t (/home/raynos/uber/leaked-handles/test/leak-timer.js:10:17) timer listener function any() {} no of handles 1 tcp handle leaked at one of: at Test.t (/home/raynos/uber/leaked-handles/test/leak-tcp.js:9:22) tcp stream { fd: 10, read
【文件预览】:
leaked-handles-master
----.gitignore(898B)
----print-handle.js(8KB)
----package.json(1KB)
----.travis.yml(118B)
----print-handles.js(620B)
----LICENSE(1KB)
----index.js(2KB)
----.jshintignore(10B)
----README.md(3KB)
----stacks.js(5KB)
----test()
--------leak-http.js(959B)
--------leak-timer.js(785B)
--------index.js(151B)
--------leak-tcp.js(676B)
--------leak-http-server.js(680B)
--------lib()
--------leak-child-process.js(1KB)