Update protocol resume/pause logical error
Merge pull request #3 from iseeyou1987/master

Update protocol resume/pause logical error