Unlimited custom dev states in database?

Hi,

I’m not sure if there is a kind of bug in asterisk. We use asterisk 11.10.2 with custom device states and found that all custom device states are present in the database.

database show customdevstate

That seems helpful after a restart of asterisk. But what will happen if you create new and new and new custom device states. The database wil grow up? What is the cleanig function for old unused custom device states?

Any ideas? Is there a kind of bug?