diff options
| author | ruki <[email protected]> | 2025-04-28 22:48:18 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2025-08-28 11:35:53 +0800 |
| commit | 2088868b56f2c70cd4e9e72803ced3197ceba010 (patch) | |
| tree | c98f345d122d4bdbb5b14c37fa843a18d9b2678c /core/src/xmake/thread/thread_exit.c | |
| parent | c144ca1a86c559af204f0b51c4cf2b2c5afe0d41 (diff) | |
improve thread callback info
Diffstat (limited to 'core/src/xmake/thread/thread_exit.c')
| -rw-r--r-- | core/src/xmake/thread/thread_exit.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/src/xmake/thread/thread_exit.c b/core/src/xmake/thread/thread_exit.c index 881addbd2..dbdefdf90 100644 --- a/core/src/xmake/thread/thread_exit.c +++ b/core/src/xmake/thread/thread_exit.c @@ -49,6 +49,7 @@ tb_int_t xm_thread_exit(lua_State* lua) // exit thread if (thread) { + tb_string_exit(&thread->callback); tb_string_exit(&thread->callinfo); if (thread->handle) { |
