Skip to content

Commit

Permalink
expose client destroy (#979)
Browse files Browse the repository at this point in the history
* expose client destroy

* fixed duplicate method
  • Loading branch information
mtrezza authored and Jawnnypoo committed Oct 25, 2019
1 parent f085fe7 commit bf882c5
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion parse/src/main/java/com/parse/Parse.java
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,12 @@ public Void then(Task<Void> task) {
}
}

static void destroy() {
/**
* Destroys this client and erases its local data store.
* Calling this after {@code Parse.initialize} allows you to re-initialize this client
* with a new configuration.
*/
public static void destroy() {
ParseObject.unregisterParseSubclasses();

ParseEventuallyQueue queue;
Expand Down

0 comments on commit bf882c5

Please sign in to comment.