@sjcrh/proteinpaint-rust 2.178.0 → 2.179.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.js +5 -0
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -83,6 +83,11 @@ export function run_rust(binfile, input_data, args = [], { signal } = {}) {
83
83
  })
84
84
  }
85
85
 
86
+ // May need to add an abort signal as argument like in run_rust above.
87
+ // Or it's likely not needed since a closed stream connection from a web browser
88
+ // will already trigger an error. `stream_rust()` was heavily tested manually
89
+ // while troubleshooting and fixing the idle rust processes the led to memory leacks
90
+ // as part of `/gdc/mafBuild` handler code, leave this code as-is for now.
86
91
  export function stream_rust(binfile, input_data, emitJson) {
87
92
  const binpath = path.join(__dirname, '/target/release/', binfile)
88
93
 
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "2.178.0",
2
+ "version": "2.179.0",
3
3
  "name": "@sjcrh/proteinpaint-rust",
4
4
  "type": "module",
5
5
  "description": "Rust-based utilities for proteinpaint",