Pieter De Baets
7b718b03eb
Allow RCTDisplayLink to pause more often
...
Summary:
By default we run the the JS display link, even if there are no modules listening. Given that most listeners will be lazily constructed, let's make it paused by default.
Since RCTTiming almost never unpauses due to some long-lived timers, implement a sleep timer that pauses the displaylink but uses an NSTimer to wake up in time.
Reviewed By: mhorowitz
Differential Revision: D3235044
fbshipit-source-id: 4a340fea552ada1bd8bc0d83b596a7df6f992387
2016-07-11 08:28:24 -07:00
..
2016-06-30 19:43:28 -07:00
2016-06-30 19:43:28 -07:00
2016-07-07 13:43:39 -07:00
2016-07-07 07:29:57 -07:00
2016-07-07 07:29:57 -07:00
2016-07-07 07:29:57 -07:00
2016-07-07 07:29:57 -07:00
2015-09-18 15:04:28 -07:00
2016-01-19 12:20:37 -08:00
2016-06-09 07:28:19 -07:00
2016-07-11 03:43:23 -07:00
2015-12-10 10:12:29 -08:00
2016-07-01 11:29:50 -07:00
2016-06-13 04:28:38 -07:00
2016-03-29 19:53:20 -07:00
2016-07-11 08:28:24 -07:00
2016-05-23 09:13:37 -07:00
2016-05-23 09:13:37 -07:00
2015-09-29 09:22:10 -07:00
2015-08-25 01:08:49 -08:00
2016-06-01 10:43:28 -07:00
2016-06-01 10:43:28 -07:00
2015-08-14 01:57:18 -08:00
2016-07-07 13:43:39 -07:00
2016-03-17 10:35:28 -07:00
2016-07-10 12:28:24 -07:00
2016-07-11 06:13:32 -07:00
2016-07-11 06:13:32 -07:00
2016-06-01 03:43:27 -07:00
2016-06-14 05:30:30 -07:00
2015-11-11 06:44:30 -08:00
2016-03-01 09:44:37 -08:00
2016-06-06 07:58:36 -07:00
2016-07-07 12:44:14 -07:00
2016-01-06 05:58:37 -08:00
2016-07-11 08:28:24 -07:00
2015-12-10 10:12:29 -08:00
2015-12-10 10:12:29 -08:00
2015-12-10 10:12:29 -08:00
2016-07-07 07:29:57 -07:00
2016-07-07 07:29:57 -07:00
2016-02-29 10:09:54 -08:00
2016-07-07 12:44:14 -07:00
2015-11-13 08:28:28 -08:00
2015-10-26 15:41:36 -07:00
2016-04-01 06:54:49 -07:00
2016-05-24 05:13:27 -07:00
2016-01-21 13:46:52 -08:00
2016-05-12 08:11:24 -07:00
2015-07-23 04:00:31 -08:00
2015-06-09 12:27:06 -08:00
2016-06-06 07:58:36 -07:00
2016-06-06 07:58:36 -07:00
2016-02-16 23:05:36 -08:00
2016-02-16 23:05:36 -08:00