guan404ming opened a new pull request, #19790: URL: https://github.com/apache/tvm/pull/19790
## Why In `tryCreateBuffer`, each of the three popped error scopes independently called `device.destroy()` and `console.error`, so a buffer that triggers more than one error type destroyed the device repeatedly and logged duplicate errors. ## How - Collect all three `popErrorScope()` results via `Promise.all` and call `device.destroy()` at most once - Log every captured error instead of relying on per-scope handlers -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
