<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def ctrl_c_handler(self, signum, frame):
 self.ctrl_c_pressed = True if self._cnf.dirty_playlist: """ Try to auto save playlist on exit Do not check result!!! """

            self.saveCurrentPlaylist()
        """ Try to auto save config on exit
            Do not check result!!! """
        self._cnf.save_config()