use a static react instance holder

Reviewed By: astreet

Differential Revision: D2937867

fb-gh-sync-id: cdda79929fa5993b6ef159aa73922909017c2ded
shipit-source-id: cdda79929fa5993b6ef159aa73922909017c2ded
This commit is contained in:
Felix Oghina
2016-02-19 05:06:15 -08:00
committed by facebook-github-bot-7
parent b516976457
commit 19a1c4c229
7 changed files with 124 additions and 47 deletions

View File

@@ -74,7 +74,7 @@ public abstract class ReactIntegrationTestCase extends AndroidTestCase {
@Override
public void run() {
if (contextToDestroy != null) {
contextToDestroy.onDestroy();
contextToDestroy.destroy();
}
}
});