author | wenzelm |
Sun, 25 Feb 2024 14:53:59 +0100 | |
changeset 79726 | 621676d7fb9a |
parent 79725 | abb5eedfeecf |
child 79727 | 529a6e35aaa9 |
--- a/src/Pure/General/sql.scala Sun Feb 25 13:17:39 2024 +0100 +++ b/src/Pure/General/sql.scala Sun Feb 25 14:53:59 2024 +0100 @@ -805,8 +805,8 @@ try { while (true) { - Isabelle_Thread.interruptible { receiver_delay.sleep() } - Option(conn.getNotifications()) match { + Isabelle_Thread.interruptible { receiver_delay.sleep(); Option(conn.getNotifications())} + match { case Some(array) if array.nonEmpty => synchronized { var received = _receiver_buffer.getOrElse(Map.empty)