Fixed EADDRINUSE error
The error inside the cms-client did not stop in all cases a the cmake server instance. This had the problem that a cmake instance was running and the named pipe can not be used because it was used by the old cmake instance. This modification stops the client, so that the cmake server / the named pipe ends.
This commit is contained in:
Родитель
ea5dbcf359
Коммит
1f947c7a99
|
@ -665,6 +665,7 @@ export class CMakeServerClient {
|
|||
resolved = true;
|
||||
resolve(client);
|
||||
} catch (e) {
|
||||
await client.shutdown();
|
||||
resolved = true;
|
||||
reject(e);
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче