What's wrong with using Thread.Abort()

前端 未结 7 1870
执笔经年
执笔经年 2020-11-21 22:30

So I know that you shouldn\'t use

Thread.Abort()

But I\'ve never been given a good explanation. Is there a performance penalty or some hid

相关标签:
7条回答
  • 2020-11-21 23:00

    In short. Any IDisposable object may not be disposed. Any locked object may not be unlocked. Anything that must be 100% performed will never be done.

    0 讨论(0)
提交回复
热议问题