From 7b86b2cfeb608ce88c694fb3def17c7dda09e804 Mon Sep 17 00:00:00 2001 From: Offray Luna Date: Fri, 2 Aug 2024 14:19:00 -0500 Subject: [PATCH] Replacing in memory process from GtSubProcess instead of TaskIt futures. --- repository/Brea/BreaPage.class.st | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/repository/Brea/BreaPage.class.st b/repository/Brea/BreaPage.class.st index c0649b1..2a42b17 100644 --- a/repository/Brea/BreaPage.class.st +++ b/repository/Brea/BreaPage.class.st @@ -139,17 +139,7 @@ BreaPage >> metadata: aDictionary [ { #category : #'as yet unclassified' } BreaPage >> populateBodyAs: key [ - | allActions result semaphore | - - allActions := TKTFuture all: { - [ self bodyContentsAsHTML ] future. - }. - semaphore := Semaphore new. - allActions onSuccessDo: [ :values | - result := values last. - semaphore signal ]. - semaphore wait. - self templateData at: key put: result contents. + self templateData at: key put: self bodyContentsAsHTML. ^ self. ] @@ -167,7 +157,7 @@ BreaPage >> populateMetadata [ ifNil: [ metadataTemp := self contentsFile metadata]. metadataTemp keysAndValuesDo: [ :key :value | self templateData at: key put: value ]. - ^ templateData + ^ self templateData ] { #category : #operation }