MCPcopy Create free account
hub / github.com/mscdex/ssh2 / _close

Function _close

lib/protocol/zlib.js:34–41  ·  view source on GitHub ↗
(engine)

Source from the content-addressed store, hash-verified

32}
33
34function _close(engine) {
35 // Caller may invoke .close after a zlib error (which will null _handle).
36 if (!engine._handle)
37 return;
38
39 engine._handle.close();
40 engine._handle = null;
41}
42
43class Zlib {
44 constructor(mode) {

Callers 3

writeSyncMethod · 0.85
cleanupMethod · 0.85
cleanupMethod · 0.85

Calls 1

closeMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…