Release log for self #3389

Use the destructor intelligently

Do not execute priority change all the time. Make sure it is a JobPrio
event.

Eliminate extra variable