Skip to content

Commit

Permalink
small fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Giselus committed Jan 20, 2025
1 parent 021cb70 commit f1e22d5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion lib_cacophony/gc/gc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ void memoryManager::createNewPage(int size) {
occupied_memory += size;
}

// This step is performed during cleanup, where allocated_pages is being modified, therefore no need to modify it heee.
// This step is performed during cleanup, where allocated_pages is being modified, therefore no need to modify it here.
void memoryManager::deallocatePage(memoryPage page) {
occupied_memory -= page.size;
free(page.ptr);
Expand Down
1 change: 0 additions & 1 deletion src/test/kotlin/cacophony/examples/GCExamplesTest.kt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ package cacophony.examples
import org.assertj.core.api.Assertions.assertThat
import org.junit.jupiter.params.ParameterizedTest
import org.junit.jupiter.params.provider.MethodSource
import java.io.File
import java.nio.file.Path
import java.util.concurrent.TimeUnit
import kotlin.io.path.listDirectoryEntries
Expand Down

0 comments on commit f1e22d5

Please sign in to comment.