diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2018-05-27 04:33:08 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2018-05-27 04:33:08 +0200 |
| commit | 9bb63160cc48111b0a57acaed85956cb9b82c59d (patch) | |
| tree | 3ae9c28679f84f0f239f3b84bac33fe4f7402bc6 /app/client/system | |
| parent | 9e08754fa2b4fde9b060606fe5851f31590690d6 (diff) | |
stop a running process, if you have the uuid
Diffstat (limited to 'app/client/system')
| -rw-r--r-- | app/client/system/system.component.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/client/system/system.component.js b/app/client/system/system.component.js index a663acf..2b09f38 100644 --- a/app/client/system/system.component.js +++ b/app/client/system/system.component.js @@ -79,15 +79,15 @@ class System extends Component { <Group title="Test"> <Param title='CPU Test Task'> <button onClick={() => actions.task.start_task(cpu_test_task, { preempt: true, watch: true })}>Start</button> - <button onClick={() => actions.task.stop_task(cpu_test_task)}>Stop</button> + <button onClick={() => actions.task.stop_task(runner.cpu)}>Stop</button> </Param> <Param title='GPU Test Task'> <button onClick={() => actions.task.start_task(gpu_test_task, { preempt: true, watch: true })}>Start</button> - <button onClick={() => actions.task.stop_task(gpu_test_task)}>Stop</button> + <button onClick={() => actions.task.stop_task(runner.gpu)}>Stop</button> </Param> <Param title='Live Test Task'> <button onClick={() => actions.task.start_task(live_test_task, { preempt: true, watch: true })}>Start</button> - <button onClick={() => actions.task.stop_task(live_test_task)}>Stop</button> + <button onClick={() => actions.task.stop_task(runner.cpu)}>Stop</button> </Param> <Param title='Test Live RPC'> <button onClick={() => actions.live.get_params()}>Get</button> |
