Running method while destroying the object

前端 未结 8 1667
抹茶落季
抹茶落季 2021-01-12 22:49

A few days ago my friend told me about the situation, they had in their project. Someone decided, that it would be good to destroy the object of NotVerySafeClass

8条回答
  •  暗喜
    暗喜 (楼主)
    2021-01-12 23:34

    No. Just need to design the program propertly so that it is thread safe.

提交回复
热议问题