author | wenzelm |
Sun, 05 Mar 2023 18:38:52 +0100 | |
changeset 77524 | a3dda42cd110 |
parent 77523 | 9398c48ea3d2 |
child 77525 | de6fb423fd4b |
--- a/src/Pure/System/progress.scala Sun Mar 05 18:20:05 2023 +0100 +++ b/src/Pure/System/progress.scala Sun Mar 05 18:38:52 2023 +0100 @@ -59,7 +59,7 @@ enabled: Boolean = true ): A = Timing.timeit(body, message = message, enabled = enabled, output = echo(_)) - @volatile protected var is_stopped = false + @volatile private var is_stopped = false def stop(): Unit = { is_stopped = true } def stopped: Boolean = { if (Thread.interrupted()) is_stopped = true