From 6c57abb1db53273a549f77bc964d329bdb4c10ae Mon Sep 17 00:00:00 2001 From: LQ63 Date: Sun, 12 Oct 2025 15:21:20 +0200 Subject: [PATCH] Added WebUI observer, added route to see latestOutput. For some reason the WebUI Observer doesn't execute it's methods for writing stuff into latestOutput. This has something to do with how the threads work --- knockoutwhistweb/app/controllers/WebUI.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/knockoutwhistweb/app/controllers/WebUI.scala b/knockoutwhistweb/app/controllers/WebUI.scala index 9286742..ddce42d 100644 --- a/knockoutwhistweb/app/controllers/WebUI.scala +++ b/knockoutwhistweb/app/controllers/WebUI.scala @@ -31,7 +31,7 @@ import java.io.{BufferedReader, InputStreamReader} import java.util.concurrent.atomic.AtomicBoolean import scala.annotation.tailrec import scala.util.{Failure, Success, Try} - + object WebUI extends CustomThread with EventListener with UI { override def initial: Boolean = {