Skip to content

Conversation

@carlosalmonte04
Copy link

Otherwise interval continues animating on native thread.

Visible by activating MessageQueue.spy (MessageQueue.spy(true))

@gnestor
Copy link
Owner

gnestor commented Jun 22, 2019

Thanks @carlosalmonte04 for catching this. I'm so sorry I'm just seeing this now! I haven't done any React Native development for the past few years and I didn't receive an email notification from Github about this ☹️ I will review now...

}
}, PULSE_DURATION);
} else {
if (this.timer) {
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this also be this.handleClearInterval()?

@@ -1,5 +1,5 @@
import React, { Component } from 'react';
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you revise this commit so that the only changes are the ones related to clearing the interval and not formatting?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants