Skip to content

Commit

Permalink
feat(cleanup): remove unnecessary flush microtasks as already handled…
Browse files Browse the repository at this point in the history
… by act (#511)
  • Loading branch information
mpeyper authored Dec 8, 2020
1 parent c7ee0b4 commit c53b56b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 53 deletions.
3 changes: 0 additions & 3 deletions src/cleanup.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
import flushMicroTasks from './flush-microtasks'

let cleanupCallbacks = []

async function cleanup() {
await flushMicroTasks()
for (const callback of cleanupCallbacks) {
await callback()
}
Expand Down
50 changes: 0 additions & 50 deletions src/flush-microtasks.js

This file was deleted.

0 comments on commit c53b56b

Please sign in to comment.