Exemplo n.º 1
0
 public static void StartNewInstance <T>(IPixivAsyncEnumerable <T> itr)
 {
     CurrentItr?.Cancel();
     GC.Collect();
     AppContext.DefaultCacheProvider.Clear();
     CurrentItr = itr as IPixivAsyncEnumerable <object>;
 }
Exemplo n.º 2
0
 public static void StartNewInstance <T>(IPixivAsyncEnumerable <T> itr)
 {
     CurrentItr?.Cancel();
     CurrentItr = itr as IPixivAsyncEnumerable <object>;
 }