System.Threading.Thread th = new System.Threading.Thread(方法名);
th.IsBackground = true;
th.Start();

上面是之前经常的写法,更新到服务器后发现该应用程序池经常频繁挂掉,把方法单独放到一个类中,然后使用new来每次实例化,就没不会挂掉了

相关文章:

  • 2022-01-19
  • 2022-12-23
  • 2022-01-01
  • 2021-08-25
  • 2021-09-22
  • 2021-08-21
  • 2022-01-11
  • 2022-01-21
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-07-30
  • 2022-12-23
相关资源
相似解决方案