But problems will arise if one of the clients calls Release on our object-the object would destroy itself, and all other clients would perform calls on a nonexistent object.
但是如果一个客户端调用了Release来释放了对象,会导致产生问题—对象会销毁自己,且所有其它客户端的调用会使用一个不存在的对象了。
But problems will arise if one of the clients calls Release on our object-the object would destroy itself, and all other clients would perform calls on a nonexistent object.
但是如果一个客户端调用了Release来释放了对象,会导致产生问题—对象会销毁自己,且所有其它客户端的调用会使用一个不存在的对象了。
应用推荐