move delete
This commit is contained in:
		
							parent
							
								
									3b655720c5
								
							
						
					
					
						commit
						4ca48db78b
					
				| @ -112,9 +112,9 @@ | ||||
|         var tok; | ||||
| 
 | ||||
|         function cleanup() { | ||||
|           delete window['--oauth3-callback-' + state]; | ||||
|           clearTimeout(tok); | ||||
|           tok = null; | ||||
|           delete window['--oauth3-callback-' + state]; | ||||
|           // this is last in case the window self-closes synchronously
 | ||||
|           // (should never happen, but that's a negotiable implementation detail)
 | ||||
|           if (!opts.reuseWindow) { | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user