Bug 1105977 - [FFOS2.0][Woodduck][SMS] The discard function is wrong

How about using arrow function here, and we can get rid of the `self`?