MCPcopy Create free account
hub / github.com/e2b-dev/desktop / stop

Method stop

packages/python-sdk/e2b_desktop/main.py:195–201  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

193 raise TimeoutException("Could not start noVNC server")
194
195 def stop(self) -> None:
196 if self._check_vnc_running():
197 self.__desktop.commands.run("pkill x11vnc")
198
199 if self.__novnc_handle:
200 self.__novnc_handle.kill()
201 self.__novnc_handle = None
202
203
204class Sandbox(SandboxBase):

Callers 1

mainFunction · 0.45

Calls 1

_check_vnc_runningMethod · 0.95

Tested by

no test coverage detected