| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
fix: prevent heap corruption when a request is torn down A request is destroyed synchronously inside RequestManager::Remove's deque erase, so a subscription cleanup that ran complex logic inline corrupted the heap (jemalloc "may double free"). Reset every request's subscriptions in Destroy() (which always runs before the destructor, since Remove is posted from Destroy) and defer the complex parts of subscription cleanups to the next resident event-loop turn. 🤖 AI[18%] 🔧 Human Fixed[0%] 🧑 Human[82%] 👌 AI Adopted[100%] Change-Id: I66a965b03f67f13513dcc066f920cad90012309e Signed-off-by: Tianshi Liu <tianshi.liu@huawei.com> | 12 天前 | |
fix: prevent heap corruption when a request is torn down A request is destroyed synchronously inside RequestManager::Remove's deque erase, so a subscription cleanup that ran complex logic inline corrupted the heap (jemalloc "may double free"). Reset every request's subscriptions in Destroy() (which always runs before the destructor, since Remove is posted from Destroy) and defer the complex parts of subscription cleanups to the next resident event-loop turn. 🤖 AI[18%] 🔧 Human Fixed[0%] 🧑 Human[82%] 👌 AI Adopted[100%] Change-Id: I66a965b03f67f13513dcc066f920cad90012309e Signed-off-by: Tianshi Liu <tianshi.liu@huawei.com> | 12 天前 |