1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-29 16:30:56 -05:00

chore(cli/coverage): remove unused runtime domain (#7749)

Previously when we used the websocket to talk to the inspector we used
the runtime domain to send a "runIfWaitingForDebugger" message.

However this is not required since we now talk to the inspector directly
and no longer send said message so this removes the enabling of the
domain entirely.
This commit is contained in:
Casper Beyer 2020-09-29 12:25:54 +08:00 committed by GitHub
parent 6587d1bce8
commit 970d412a08
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -128,10 +128,6 @@ impl CoverageCollector {
.post_message("Debugger.enable".to_string(), None)
.await?;
self
.post_message("Runtime.enable".to_string(), None)
.await?;
self
.post_message("Profiler.enable".to_string(), None)
.await?;
@ -184,9 +180,6 @@ impl CoverageCollector {
self
.post_message("Profiler.disable".to_string(), None)
.await?;
self
.post_message("Runtime.disable".to_string(), None)
.await?;
self
.post_message("Debugger.disable".to_string(), None)
.await?;