Skip to content

Commit bf882c5

Browse files
mtrezzaJawnnypoo
authored andcommitted
expose client destroy (#979)
* expose client destroy * fixed duplicate method
1 parent f085fe7 commit bf882c5

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

parse/src/main/java/com/parse/Parse.java

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,12 @@ public Void then(Task<Void> task) {
191191
}
192192
}
193193

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

197202
ParseEventuallyQueue queue;

0 commit comments

Comments
 (0)