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

This reverts commit 157e1c8712.
This commit is contained in:
Tera << 8 2025-01-08 11:23:05 -05:00
parent 157e1c8712
commit f24daabe45
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 {