MCPcopy
hub / github.com/dask/dask / close

Method close

dask/diagnostics/profile.py:204–208  ·  view source on GitHub ↗

Shutdown the resource tracker process

(self)

Source from the content-addressed store, hash-verified

202 self._stop_collect()
203
204 def close(self):
205 """Shutdown the resource tracker process"""
206 if self._is_running():
207 self._tracker.shutdown()
208 self._tracker = None
209
210 __del__ = close
211

Callers 15

__exit__Method · 0.95
tmpfileFunction · 0.80
filetextFunction · 0.80
filetextsFunction · 0.80
test_filesFunction · 0.80
test_to_textfilesFunction · 0.80
test_extra_fileFunction · 0.80
shutdownMethod · 0.80
runMethod · 0.80

Calls 2

_is_runningMethod · 0.95
shutdownMethod · 0.80

Tested by 10

test_filesFunction · 0.64
test_to_textfilesFunction · 0.64
test_extra_fileFunction · 0.64
test_resource_profilerFunction · 0.64
test_memmapFunction · 0.64