refactor: remove OnceLock
#9992
+536
−209
Draft
OnceLock
#9992