MCPcopy Create free account
hub / github.com/emscripten-core/emscripten / stop

Method stop

test/browser_common.py:574–576  ·  view source on GitHub ↗

Shuts down the server if it is running.

(self)

Source from the content-addressed store, hash-verified

572 self.server = server
573
574 def stop(self):
575 """Shuts down the server if it is running."""
576 self.server.shutdown()
577
578 def run(self):
579 """Create a server instance and serve forever until stop() is called."""

Callers 4

test_cross_originMethod · 0.95
compiler.mjsFile · 0.45
tearDownClassMethod · 0.45

Calls 1

shutdownMethod · 0.80

Tested by 2

test_cross_originMethod · 0.76