mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2025-12-12 11:12:29 +00:00
feat(net): handle connection removal in WowConnectionNet
This commit is contained in:
parent
84a4ead425
commit
0ca1c8e331
4 changed files with 19 additions and 1 deletions
|
|
@ -31,6 +31,11 @@ void WowConnectionNet::PlatformInit(bool useEngine) {
|
|||
// TODO
|
||||
}
|
||||
|
||||
void WowConnectionNet::PlatformRemove(WowConnection* connection) {
|
||||
char buf = '\1';
|
||||
write(s_workerPipe[1], &buf, sizeof(buf));
|
||||
}
|
||||
|
||||
void WowConnectionNet::PlatformRun() {
|
||||
pipe(s_workerPipe);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue