feature: Adds semi-broken stability improvements into the runtime environment.

This commit is contained in:
Tera << 8 2025-01-05 23:45:44 -05:00
parent f505ff6605
commit 605ad31dd6
Signed by: imterah
GPG key ID: 8FA7DD57BA6CEA37
3 changed files with 205 additions and 35 deletions

View file

@ -12,14 +12,17 @@ type Backend struct {
}
type Runtime struct {
isRuntimeRunning bool
logger *writeLogger
currentProcess *exec.Cmd
currentListener net.Listener
isRuntimeRunning bool
logger *writeLogger
currentProcess *exec.Cmd
currentListener net.Listener
processRestartNotification chan bool
ProcessPath string
Logs []string
RuntimeCommands chan interface{}
OnCrashCallback func(sock net.Conn)
}
type writeLogger struct {