Chimney.MPD.ChimneyMPDEvent.Stop C# (CSharp) Method

Stop() public method

public Stop ( bool connectionproblem = false ) : System.Threading.Tasks.Task
connectionproblem bool
return System.Threading.Tasks.Task
        public async Task Stop(bool connectionproblem = false)
        {
            this.connectionproblem = connectionproblem;
            idle = false;
            if(!this.connectionproblem) 
                await this.NoIdle();
            await this.Close(this.connectionproblem);
        }