Skip to content

Conversation

alxndrsn
Copy link
Contributor

@alxndrsn alxndrsn commented Apr 8, 2016

Fix for #426

return Utility.isConnected(mContext);
}

public enum SchedulerInstance {
Copy link
Collaborator

Choose a reason for hiding this comment

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

This is to make the Scheduler a Singleton. More thread-safety this way.

Copy link
Contributor Author

@alxndrsn alxndrsn Apr 22, 2016

Choose a reason for hiding this comment

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

Ah yeah, I obviously missed the singletoning - sorry!

Copy link
Contributor Author

Choose a reason for hiding this comment

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

More thread-safety this way.

Surely something's thread-safe or it's not - the area between the two is scary (and not thread-safe)!

@eyedol
Copy link
Collaborator

eyedol commented Apr 27, 2016

@alxndrsn What's the status on this?

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