Files
esx_core/[core]/esx_menu_dialog
Selt f5ed52d03b fix(esx_menu_dialog): drop the timeout id bookkeeping
With the callback checking whether a menu is still open, cancelling the
previous timers by id is no longer needed.

The table it kept them in was never emptied, so every open iterated over
every id ever created and called ClearTimeout on all of them. That is
quadratic, and clearTimeout only marks an id in xLib's CancelledTimeouts,
which is cleared when the timer fires. Ids that had already fired stayed
in there for good, in a table shared by every resource.
2026-07-30 02:38:25 +02:00
..
2025-01-08 14:17:39 +01:00

esx_menu_dialog

Simple script used for inputs.

Installation

  • Add this to your server.cfg:
start esx_menu_dialog

Legal

License

esx_menu_dialog - input dialog for ESX

Copyright (C) 2015-2024 Jérémie N'gadi

This program Is free software: you can redistribute it And/Or modify it under the terms Of the GNU General Public License As published by the Free Software Foundation, either version 3 Of the License, Or (at your option) any later version.

This program Is distributed In the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty Of MERCHANTABILITY Or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License For more details.

You should have received a copy Of the GNU General Public License along with this program. If Not, see http://www.gnu.org/licenses/.