mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 18:36:30 +01:00 
			
		
		
		
	continuing in API review
This commit is contained in:
		| @@ -193,13 +193,8 @@ let transactionPromise = null; | ||||
|  | ||||
| async function doInTransaction(func) { | ||||
|     if (cls.namespace.get('isInTransaction')) { | ||||
|         console.log("Transaction already active"); | ||||
|  | ||||
|         return await func(); | ||||
|     } | ||||
|     else { | ||||
|         console.log("Starting new transaction"); | ||||
|     } | ||||
|  | ||||
|     while (transactionActive) { | ||||
|         await transactionPromise; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user