firebase / firebase/quickstart-java

Can't shutdown background threads [Firebase Admin SDK 4.1.5]

オープン
#10 コメント 2 件 リアクション 2 件 担当者 0 名 GitHub で見る
主要言語
Java
スター
241
フォーク
148
PR マージ指標
30日以内にマージされた PR はありません

説明

Running this on local machine with Java 8
` FirebaseOptions options = new FirebaseOptions.Builder()
.setCredential(FirebaseCredentials.applicationDefault())
.setDatabaseUrl("https://" + ServiceOptions.getDefaultProjectId() + ".firebaseio.com/")
.build();
`

`firebaseDatabase = FirebaseDatabase.getInstance(FirebaseApp.initializeApp(options));
final DatabaseReference entry = firebaseDatabase.getReference("somereference");
entry.setValue("data",(databaseError, databaseReference) -> System.out.println("ok"));`
How can i choose to use daemon threads? And if not, why don't you have a shutdown/close option?

I notice that entry.setValue("data") shutdowns threads normally.

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。