@@ -1150,9 +1150,6 @@ private void QueryHistory()
1150
1150
1151
1151
private async Task QueryResultsAsync ( bool searchDelay , bool isReQuery = false , bool reSelect = true )
1152
1152
{
1153
- // TODO: Remove debug codes.
1154
- System . Diagnostics . Debug . WriteLine ( "!!!QueryResults" ) ;
1155
-
1156
1153
_updateSource ? . Cancel ( ) ;
1157
1154
1158
1155
var query = ConstructQuery ( QueryText , Settings . CustomShortcuts , Settings . BuiltinShortcuts ) ;
@@ -1233,17 +1230,6 @@ private async Task QueryResultsAsync(bool searchDelay, bool isReQuery = false, b
1233
1230
true => Task . CompletedTask
1234
1231
} ) . ToArray ( ) ;
1235
1232
1236
- // TODO: Remove debug codes.
1237
- System . Diagnostics . Debug . Write ( $ "!!!Querying { query . RawQuery } : search delay { searchDelay } ") ;
1238
- foreach ( var plugin in plugins )
1239
- {
1240
- if ( ! plugin . Metadata . Disabled )
1241
- {
1242
- System . Diagnostics . Debug . Write ( $ "{ plugin . Metadata . Name } , ") ;
1243
- }
1244
- }
1245
- System . Diagnostics . Debug . Write ( "\n " ) ;
1246
-
1247
1233
try
1248
1234
{
1249
1235
// Check the code, WhenAll will translate all type of IEnumerable or Collection to Array, so make an array at first
@@ -1281,14 +1267,8 @@ async Task QueryTaskAsync(PluginPair plugin, CancellationToken token)
1281
1267
_ => 150
1282
1268
} ;
1283
1269
1284
- // TODO: Remove debug codes.
1285
- System . Diagnostics . Debug . WriteLine ( $ "!!!{ plugin . Metadata . Name } Waiting { searchDelayTime } ms") ;
1286
-
1287
1270
await Task . Delay ( searchDelayTime , token ) ;
1288
1271
1289
- // TODO: Remove debug codes.
1290
- System . Diagnostics . Debug . WriteLine ( $ "!!!{ plugin . Metadata . Name } Waited { searchDelayTime } ms") ;
1291
-
1292
1272
if ( token . IsCancellationRequested )
1293
1273
return ;
1294
1274
}
@@ -1297,8 +1277,6 @@ async Task QueryTaskAsync(PluginPair plugin, CancellationToken token)
1297
1277
// Task.Yield will force it to run in ThreadPool
1298
1278
await Task . Yield ( ) ;
1299
1279
1300
- // TODO: Remove debug codes.
1301
- System . Diagnostics . Debug . WriteLine ( $ "!!!{ query . RawQuery } Querying { plugin . Metadata . Name } ") ;
1302
1280
IReadOnlyList < Result > results =
1303
1281
await PluginManager . QueryForPluginAsync ( plugin , query , token ) ;
1304
1282
0 commit comments