Update Buildroot reference in HAL workflow and README to 2025.05-rc1; add nil check in Stop methods for binary, python, and wasm algorithms (#443)

Signed-off-by: Sammy Oina <sammyoina@gmail.com>
This commit is contained in:
Sammy Kerata Oina
2025-05-29 11:40:23 +03:00
committed by GitHub
parent f5b67ca35b
commit bf84f45306
5 changed files with 14 additions and 2 deletions
+4
View File
@@ -57,6 +57,10 @@ func (b *binary) Stop() error {
return nil
}
if b.cmd.Process == nil {
return nil
}
if err := b.cmd.Process.Kill(); err != nil {
return fmt.Errorf("error stopping algorithm: %v", err)
}
+4
View File
@@ -114,6 +114,10 @@ func (p *python) Stop() error {
return nil
}
if p.cmd.Process == nil {
return nil
}
if err := p.cmd.Process.Kill(); err != nil {
return fmt.Errorf("error stopping algorithm: %v", err)
}
+4
View File
@@ -63,6 +63,10 @@ func (w *wasm) Stop() error {
return nil
}
if w.cmd.Process == nil {
return nil
}
if err := w.cmd.Process.Kill(); err != nil {
return fmt.Errorf("error stopping algorithm: %v", err)
}