Can I patch an arbitrary object instance to throw when used?

前端 未结 0 844
暖寄归人
暖寄归人 2021-01-13 04:05

Motivation

I have singleton objects I am replacing with new instances. I want to be sure that nobody uses stale references to invalidated objects. I have tried a

相关标签:
回答
  • 消灭零回复
提交回复
热议问题