mirror of
https://github.com/ondra-novak/gates_of_skeldal.git
synced 2025-07-05 06:00:33 -04:00
Fix memory leaks
This commit is contained in:
parent
1297cccd70
commit
4ea74f3b15
1 changed files with 0 additions and 2 deletions
|
@ -39,7 +39,6 @@ struct MsgQueue {
|
||||||
TaskInfo *sender;
|
TaskInfo *sender;
|
||||||
};
|
};
|
||||||
|
|
||||||
static std::queue<MsgQueue> msg_queue;
|
|
||||||
static int recursion_count = 0;
|
static int recursion_count = 0;
|
||||||
|
|
||||||
|
|
||||||
|
@ -148,7 +147,6 @@ char is_running(int id_num) {
|
||||||
return !iter->second->exited;
|
return !iter->second->exited;
|
||||||
}
|
}
|
||||||
void unsuspend_task(EVENT_MSG *msg) {
|
void unsuspend_task(EVENT_MSG *msg) {
|
||||||
msg_queue.push({msg, current_task_inst});
|
|
||||||
broadcast_message(msg);
|
broadcast_message(msg);
|
||||||
}
|
}
|
||||||
void task_sleep(void) {
|
void task_sleep(void) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue