summaryrefslogtreecommitdiff
path: root/platform/node/index.js
diff options
context:
space:
mode:
authorThiago Marcos P. Santos <tmpsantos@gmail.com>2019-03-08 19:14:38 +0200
committerThiago Marcos P. Santos <tmpsantos@gmail.com>2019-03-08 20:56:45 +0200
commit7cdc39bee90dbf7658cb280b4fba9e63de18bc31 (patch)
treeffc5c23dca49b0869083f44b22e6d73913a761cf /platform/node/index.js
parent5e2b6bf636472a4464e6ab3ae0d9d01c68de041b (diff)
downloadqtlocation-mapboxgl-7cdc39bee90dbf7658cb280b4fba9e63de18bc31.tar.gz
[Qt] Fix race when locking a FileSource
We were returning the FileSource, it could have expired already. We _need_ to check if the lock() on the weak pointer worked before returning.
Diffstat (limited to 'platform/node/index.js')
0 files changed, 0 insertions, 0 deletions