Simplified object and function pointer releasing in slot object from Signals module.