Closed tangjin0418 closed 1 year ago
Hmm. Yeah that's interesting. I didn't write the YAMLParser class, but that definitely should be adjusted.
By the way The YAML parse countSpace should also be changed to: Otherwise, if the key contains spaces that will be counted too.
After changing that, might fix this:
As the code shows, your Parser(s) share a variable
i
, this will cause issues when async. Please make that parser an Object or do something else.Like: