ddnet/src/engine/client
bors[bot] 2901c19bed
Merge #6602
6602: Revert "Delay disconnecting until after render call" r=def- a=Robyt3

This reverts commit 5c90fd2b83.

Delaying the disconnecting causes issues when the client automatically disconnects immediately before connecting to another server or starting demo playback.

It's not necessary to delay the disconnecting to deal with #6387, as #6589 is already enough. It's easier to revert this instead of rewriting the client so connecting and starting demo playback are also delayed.

Closes #6595.

## Checklist

- [X] Tested the change ingame
- [ ] Provided screenshots if it is a visual change
- [ ] Tested in combination with possibly related configuration options
- [ ] Written a unit test (especially base/) or added coverage to integration test
- [ ] Considered possible null pointers and out of bounds array indexing
- [ ] Changed no physics that affect existing maps
- [ ] Tested the change with [ASan+UBSan or valgrind's memcheck](https://github.com/ddnet/ddnet/#using-addresssanitizer--undefinedbehavioursanitizer-or-valgrinds-memcheck) (optional)


Co-authored-by: Robert Müller <robytemueller@gmail.com>
2023-05-16 22:43:29 +00:00
..
backend Replace usages of C math functions 2023-03-01 19:26:53 +01:00
backend_sdl.cpp Destroy window before showing popup if graphics initialized 2023-05-07 21:20:47 +02:00
backend_sdl.h Destroy window before showing popup if graphics initialized 2023-05-07 21:20:47 +02:00
blocklist_driver.cpp Huge variable naming format 2022-07-08 18:01:29 +02:00
blocklist_driver.h Add Intel as vendor to the block list on windows 2021-05-06 12:23:40 +02:00
checksum.h Add some checksum functions to the client 2022-01-31 21:31:26 +01:00
client.cpp Merge #6602 2023-05-16 22:43:29 +00:00
client.h Revert "Delay disconnecting until after render call" 2023-05-16 19:34:21 +02:00
demoedit.cpp Port some code to str_copy() template 2022-07-09 19:40:58 +03:00
demoedit.h Mark virtual function as override using a script: 2022-05-17 23:47:32 +02:00
discord.cpp Only announce servers using Steam/Discord integration which are registered 2022-10-09 16:16:54 +02:00
favorites.cpp Fix windows build 2022-09-27 13:45:58 +02:00
friends.cpp Port some code to str_copy() template 2022-07-09 19:40:58 +03:00
friends.h Organize engine-client includes 2022-06-17 17:46:43 +02:00
ghost.cpp Use sizeof(int32_t) instead of 4 2023-02-11 13:59:08 +01:00
ghost.h Use sizeof(int32_t) instead of 4 2023-02-11 13:59:08 +01:00
graphics_defines.h Replace all usages of C standard headers with C++ headers 2023-03-01 19:26:51 +01:00
graphics_threaded.cpp Destroy window before showing popup if graphics initialized 2023-05-07 21:20:47 +02:00
graphics_threaded.h Destroy window before showing popup if graphics initialized 2023-05-07 21:20:47 +02:00
input.cpp Use windows_utf8_to_wide and windows_wide_to_utf8 2023-05-02 19:58:28 +02:00
input.h Port line input and IME support from 0.7 2023-04-23 15:00:29 +02:00
keynames.h Handle ordinal joystick hat keys as combined cardinal hat keys 2022-12-17 17:18:01 +01:00
notifications.cpp Emscripten support 2022-03-25 12:42:18 +01:00
notifications.h Libnotify support for linux client (#2099) 2020-04-14 17:53:53 +02:00
serverbrowser.cpp Add ingame and browser buttons to copy server info to clipboard 2023-01-06 21:23:33 +01:00
serverbrowser.h Encapsulate m_ResortServerBrowser inside CServerBrowser 2022-12-05 23:15:35 +01:00
serverbrowser_http.cpp Use new ddnet.org domain 2022-08-30 10:09:06 +02:00
serverbrowser_http.h Allow multiple addresses per server in the serverbrowser 2022-07-10 16:52:07 +02:00
serverbrowser_ping_cache.cpp Allow multiple addresses per server in the serverbrowser 2022-07-10 16:52:07 +02:00
serverbrowser_ping_cache.h Allow multiple addresses per server in the serverbrowser 2022-07-10 16:52:07 +02:00
sound.cpp check for success when decoding audio 2023-03-17 10:39:17 +01:00
sound.h Let CKernel clean-up. Use unused CSound::Shutdown 2022-09-16 16:50:19 +02:00
sqlite.cpp Make use of IO_MAX_PATH_LENGTH 2021-09-13 12:14:50 +02:00
steam.cpp Only announce servers using Steam/Discord integration which are registered 2022-10-09 16:16:54 +02:00
text.cpp Add shared ptr to track usage 2023-05-14 20:21:59 +02:00
updater.cpp Use new ddnet.org domain 2022-08-30 10:09:06 +02:00
updater.h Use nullptr in generated and editor 2022-06-13 18:28:13 +02:00
video.cpp Fix deprecation warning in ffmpeg 6 (fixes #6398) 2023-03-10 14:38:37 +01:00
video.h Huge variable naming format 2022-07-08 18:01:29 +02:00