Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: blagoev <[email protected]>
  • Loading branch information
nielsenko and blagoev authored Mar 28, 2022
1 parent 59295b4 commit 3898911
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/src/native/realm_core.dart
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ class _RealmCore {
}

static void request_callback(Object userData, realm_http_request request, Pointer<Void> request_context) {
() async { // TODO: Use another isolate, perhaps?
() async {
final client = userData as HttpClient;
client.connectionTimeout = Duration(milliseconds: request.timeout_ms);
try {
Expand Down Expand Up @@ -237,7 +237,6 @@ class _RealmCore {

int headerCnt = 0;
response.headers.forEach((name, values) {
// Freaking odd interface :-/
headerCnt += values.length;
});

Expand Down

0 comments on commit 3898911

Please sign in to comment.