Skip to content

Commit 2a65cd1

Browse files
wu-huia-maurice
authored andcommitted
Use Executor::CreateSerial
PiperOrigin-RevId: 316809187
1 parent 2b8eb5a commit 2a65cd1

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

firestore/src/common/settings_ios.mm

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,7 @@
1919

2020
Settings::Settings()
2121
: host_(kDefaultHost),
22-
executor_(absl::make_unique<ExecutorLibdispatch>(dispatch_queue_create(
23-
"com.google.firebase.firestore.callback", DISPATCH_QUEUE_SERIAL))) {}
22+
executor_(Executor::CreateSerial("com.google.firebase.firestore.callback")) {}
2423

2524
std::unique_ptr<Executor> Settings::CreateExecutor() const {
2625
return absl::make_unique<ExecutorLibdispatch>(dispatch_queue());

0 commit comments

Comments
 (0)