We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6a3cf3c commit 5da5e3bCopy full SHA for 5da5e3b
src/server.d
@@ -101,6 +101,8 @@ int main(string[] args)
101
sw.stop();
102
Log.info(ModuleCache.symbolsAllocated, " symbols cached.");
103
Log.info("Startup completed in ", sw.peek().to!("msecs", float), " milliseconds.");
104
+ import core.memory : GC;
105
+ GC.minimize();
106
107
108
// No relative paths
@@ -162,7 +164,10 @@ int main(string[] args)
162
164
s.send(responseBytes);
163
165
}
166
if (request.kind & RequestKind.addImport)
167
+ {
168
ModuleCache.addImportPaths(request.importPaths);
169
170
+ }
171
if (request.kind & RequestKind.autocomplete)
172
{
173
Log.info("Getting completions");
0 commit comments