Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
nni
Commits
130a2132
Unverified
Commit
130a2132
authored
Apr 11, 2019
by
QuanluZhang
Committed by
GitHub
Apr 11, 2019
Browse files
fix not-successfully-kill issue (#968)
parent
69b2e9aa
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/nni_manager/core/nnimanager.ts
src/nni_manager/core/nnimanager.ts
+1
-1
No files found.
src/nni_manager/core/nnimanager.ts
View file @
130a2132
...
...
@@ -347,7 +347,7 @@ class NNIManager implements Manager {
await
delay
(
1000
);
}
try
{
await
cpp
.
exec
(
`kill
${
this
.
dispatcherPid
}
`
);
await
cpp
.
exec
(
`kill
-9
${
this
.
dispatcherPid
}
`
);
}
catch
(
error
)
{
// this.tunerPid does not exist, do nothing here
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment