public bool Dispose() { if (Disposed) { return(false); } OnDispose(); //TODO:有空研究一下这里为什么会等于空 if (mThread == null) { try { Debug.LogError("这里不应该等于空"); } catch (Exception e) { // ignored } } else { mThread.Dispose(); } Disposed = true; return(true); }