We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9584d80 commit 5be8531Copy full SHA for 5be8531
source/app.d
@@ -106,6 +106,8 @@ void processNotify(RequestMessage msg)
106
if (msg.method == "exit" || served.extension.shutdownRequested)
107
{
108
rpc.stop();
109
+ if (!served.extension.shutdownRequested)
110
+ served.extension.shutdown();
111
return;
112
}
113
if (msg.method == "workspace/didChangeConfiguration")
source/served/extension.d
@@ -245,6 +245,8 @@ void handleBroadcast(JSONValue data)
245
246
void startDCD()
247
248
+ if (shutdownRequested)
249
+ return;
250
hasDCD = safe!(dcd.start)(workspaceRoot, config.d.dcdClientPath,
251
config.d.dcdServerPath, cast(ushort) 9166, false);
252
if (hasDCD)
0 commit comments