A large number unused wakelocks and performance

There is an application that every day creates about 100-200 new wakelocks for android. each wakelock is used once and after using it is no longer needed, but remains in the system. Thus there are a lot of unused wakelocks in the system. How do you think this is correct? or is it bad for system performance?

if you are wondering what kind of application it is and how this is possible, then see the link: https://github.com/iNPUTmice/Conversations/issues/4012