[wesnoth-commits] [wesnoth/wesnoth] 182c91: Remove the 10ms delay before closing a window

Steve Cotton noreply at github.com
Wed Jul 7 09:25:55 UTC 2021


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 182c9119774895f3d4187043f06e1943959f7e46
      https://github.com/wesnoth/wesnoth/commit/182c9119774895f3d4187043f06e1943959f7e46
  Author: Steve Cotton <steve at octalot.co.uk>
  Date:   2021-07-07 (Wed, 07 Jul 2021)

  Changed paths:
    M src/gui/widgets/window.cpp

  Log Message:
  -----------
  Remove the 10ms delay before closing a window

This delay is to stop the loop running continously, it isn't necessary to do
that when we're about to exit the loop anyway. I'm unsure whether this makes
any noticeable difference, but it seems reasonable to remove delays when
possible.





More information about the Commits mailing list