In a recent experiment, it was shown that inducing a positive mood can buffer the impairing effects of ego depletion on subsequent performance [REF].
The ego depletion effect itself (without mood intervention), has however been shown to be unrelated to mood changes, as shown in multiple ego depletion experiments that either controlled for mood, or saw no mood changes.