mirror of
https://github.com/edubart/otclient.git
synced 2025-10-19 05:53:26 +02:00
fix tcp congestion
This commit is contained in:
@@ -33,7 +33,7 @@ public:
|
||||
Event(const SimpleCallback& callback) : m_callback(callback), m_canceled(false), m_executed(false) { }
|
||||
|
||||
void execute() {
|
||||
if(!m_canceled) {
|
||||
if(!m_canceled && !m_executed) {
|
||||
m_callback();
|
||||
m_executed = true;
|
||||
}
|
||||
|
Reference in New Issue
Block a user