This repository was archived by the owner on Mar 16, 2019. It is now read-only.
File tree 2 files changed +5
-6
lines changed
2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -11,8 +11,8 @@ import EventTarget from './EventTarget'
11
11
const log = new Log ( 'Blob' )
12
12
const blobCacheDir = fs . dirs . DocumentDir + '/RNFetchBlob-blobs/'
13
13
14
- // log.disable()
15
- log . level ( 3 )
14
+ log . disable ( )
15
+ // log.level(3)
16
16
17
17
/**
18
18
* A RNFetchBlob style Blob polyfill class, this is a Blob which compatible to
@@ -342,6 +342,5 @@ function createMixedBlobData(ref, dataArray) {
342
342
return fs . appendFile ( ...arg )
343
343
} . bind ( args [ i ] ) )
344
344
}
345
- console . log ( '###ref' , ref )
346
345
return p . then ( ( ) => Promise . resolve ( size ) )
347
346
}
Original file line number Diff line number Diff line change @@ -6,8 +6,8 @@ import Blob from './Blob'
6
6
7
7
const log = new Log ( 'FetchPolyfill' )
8
8
9
- // log.disable()
10
- log . level ( 3 )
9
+ log . disable ( )
10
+ // log.level(3)
11
11
12
12
export default class Fetch {
13
13
@@ -67,7 +67,7 @@ class RNFetchBlobFetchPolyfill {
67
67
log . verbose ( 'response' , resp )
68
68
// release blob cache created when sending request
69
69
if ( blobCache !== null && blobCache instanceof Blob )
70
- // blobCache.close()
70
+ blobCache . close ( )
71
71
return Promise . resolve ( new RNFetchBlobFetchRepsonse ( resp ) )
72
72
} )
73
73
You can’t perform that action at this time.
0 commit comments