diff --git a/src/runtime/registry.cc b/src/runtime/registry.cc index 1a963bee472c..fa09720fc90d 100644 --- a/src/runtime/registry.cc +++ b/src/runtime/registry.cc @@ -38,9 +38,9 @@ namespace runtime { struct Registry::Manager { // map storing the functions. - // We deliberately used raw pointer - // This is because PackedFunc can contain callbacks into the host languge(python) - // and the resource can become invalid because of indeterminstic order of destruction and forking. + // We deliberately used raw pointer. + // This is because PackedFunc can contain callbacks into the host language (Python) and the + // resource can become invalid because of indeterministic order of destruction and forking. // The resources will only be recycled during program exit. std::unordered_map fmap; // mutex