Skip to content
This repository has been archived by the owner on Jul 11, 2023. It is now read-only.

fix(base) avoid a crash when self.lastQuery is not set #82

Merged
merged 1 commit into from
Dec 10, 2019

Conversation

hishamhm
Copy link
Contributor

I cannot reproduce this easily, but I've had a crash in the logs
caused by attempting to dereference self.lastQuery.expire when
self.lastQuery was nil.

Patched it like this to match the coding style present in this
module.

I cannot reproduce this easily, but I've had a crash in the logs
caused by attempting to dereference `self.lastQuery.expire` when
`self.lastQuery` was `nil`.

Patched it like this to match the coding style present in this
module.
@hishamhm hishamhm requested review from Tieske and locao December 10, 2019 14:54
@hishamhm hishamhm merged commit c8557bf into master Dec 10, 2019
@hishamhm hishamhm deleted the fix/empty-last-query branch December 10, 2019 19:19
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants