juan_gandhi: (VP)
Juan-Carlos Gandhi ([personal profile] juan_gandhi) wrote2014-03-27 11:33 am
Entry tags:

naming

  def killItselfAgainstTheWall() {
    if (isBrowserRunning) Thread.sleep(10000)
    if (isBrowserRunning) {
      error("The application ran faster than the browser and shut down already, while the browser is still running.\n.")
      System.exit(0)
    }
  }

[identity profile] sassa-nf.livejournal.com 2014-03-27 06:44 pm (UTC)(link)
error("Application runs faster than browser.\n")

[identity profile] norian.livejournal.com 2014-03-27 07:38 pm (UTC)(link)
эээ .. а не against the wall ?

а то получаецца около стены а не апстену

if (isBrowserRunning) { drinkPoison() Thread.sleep(10000) }

[identity profile] fatoff.livejournal.com 2014-03-27 08:44 pm (UTC)(link)
isBrowserRunning, это что за переменная? Если просто некая статическая/глобальная, то очень странный методе для достоверного определения асинхронного состояния.

[identity profile] yatur.livejournal.com 2014-03-27 08:47 pm (UTC)(link)
The application ran faster than the browser and has shut down already, while the browser is still running.