1.Finalizers are unpredictable, often dangerous, and generally unnecessary.
2.never do anything time-critical in a finalizer.
3.never depend on a finalizer to update critical persistent state
4.there is a severe performance penalty for using finalizers.
原创文章,作者:ItWorker,如若转载,请注明出处:https://blog.ytso.com/15967.html