File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed
Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change 11using System ;
2- using System . Linq ;
32using CESDK . Classes ;
43using Microsoft . AspNetCore . Builder ;
54using Microsoft . AspNetCore . Http ;
@@ -34,15 +33,15 @@ public static void MapThreadListApi(this WebApplication app)
3433 }
3534
3635 /// <summary>
37- /// Gets all threads as string representations .
36+ /// Gets all threads as hex ID strings .
3837 /// </summary>
39- /// <returns>Array of thread strings </returns>
38+ /// <returns>Array of thread IDs in hex format </returns>
4039 private static string [ ] GetThreadList ( )
4140 {
4241 try
4342 {
44- var threads = threadList . GetAllThreads ( ) ;
45- return threads . Select ( t => t . ToString ( ) ) . ToArray ( ) ;
43+ threadList . Refresh ( ) ; // Refresh to get current threads
44+ return threadList . GetAllThreads ( ) ;
4645 }
4746 catch ( SystemException ex )
4847 {
You can’t perform that action at this time.
0 commit comments