| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 8dc6376 commit 736ff5d
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -283,6 +283,11 @@ void InspectorIo::ThreadMain(void* io) { | |||
| 283 | 283 | } | |
| 284 | 284 | ||
| 285 | 285 | void InspectorIo::ThreadMain() { | |
| 286 | + int thread_name_error = uv_thread_setname("InspectorIo"); | ||
| 287 | + if (!thread_name_error) [[unlikely]] { | ||
| 288 | + per_process::Debug(node::DebugCategory::INSPECTOR_SERVER, | ||
| 289 | + "Failed to set thread name for Inspector\n"); | ||
| 290 | + } | ||
| 286 | 291 | uv_loop_t loop; | |
| 287 | 292 | loop.data = nullptr; | |
| 288 | 293 | int err = uv_loop_init(&loop); | |
| Back | FazBrowse Home | New Git URL |
0 commit comments