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
This commit is contained in:
@@ -31,7 +31,7 @@ import java.io.{BufferedReader, InputStreamReader}
|
|||||||
import java.util.concurrent.atomic.AtomicBoolean
|
import java.util.concurrent.atomic.AtomicBoolean
|
||||||
import scala.annotation.tailrec
|
import scala.annotation.tailrec
|
||||||
import scala.util.{Failure, Success, Try}
|
import scala.util.{Failure, Success, Try}
|
||||||
|
|
||||||
object WebUI extends CustomThread with EventListener with UI {
|
object WebUI extends CustomThread with EventListener with UI {
|
||||||
|
|
||||||
override def initial: Boolean = {
|
override def initial: Boolean = {
|
||||||
|
|||||||
Reference in New Issue
Block a user