fix(panel-v3): bridge JS→Python, DETENER por PID, NVM, cierre limpio
- Bridge reescrito: usa oasis:// URI en lugar de UserContentManager - bash -lc para cargar NVM al lanzar OASIS (Node v22) - DETENER mata el grupo de procesos por PID (no pkill genérico) - _oasis_proc guarda el proceso activo entre INICIAR/DETENER - Flag _alive evita MemoryError al llamar GLib.idle_add tras cerrar - _on_destroy desconecta el main loop limpiamente Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
1ed0aa03d9
commit
68b3ceff8d
2 changed files with 61 additions and 58 deletions
|
|
@ -5,9 +5,7 @@
|
|||
|
||||
// ── Bridge JS → Python ────────────────────────────────────────
|
||||
function send(action) {
|
||||
window.webkit.messageHandlers.bridge.postMessage(
|
||||
JSON.stringify({ action })
|
||||
);
|
||||
window.location.href = 'oasis://' + action;
|
||||
}
|
||||
|
||||
// ── Tabs ──────────────────────────────────────────────────────
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue