Files
3x-ui/web/service
Vlad Yaroslavlev 278aa1c85c Fix telegram bot issue (#3608)
* fix: improve Telegram bot handling for concurrent starts and graceful shutdown

- Added logic to stop any existing long-polling loop when Start is called again.
- Introduced a mutex to manage access to shared state variables, ensuring thread safety.
- Updated the OnReceive method to prevent multiple concurrent executions.
- Enhanced Stop method to ensure proper cleanup of resources and state management.

* fix: enhance Telegram bot's long-polling management

- Improved handling of concurrent starts by stopping existing long-polling loops.
- Implemented mutex for thread-safe access to shared state variables.
- Updated OnReceive method to prevent multiple executions.
- Enhanced Stop method for better resource cleanup and state management.

* .
2026-01-02 16:13:32 +01:00
..
2025-10-21 13:02:55 +02:00
2025-09-20 09:35:50 +02:00
2026-01-02 16:13:32 +01:00
2025-10-21 13:02:55 +02:00
2025-09-20 09:35:50 +02:00
2025-09-20 09:35:50 +02:00