Null check mPtrToNodeMap.ops in graph dtor