Skip to content

Commit 0004697

Browse files
committed
Revert "Use Default dispatcher instead of Main in Community scope."
This reverts commit 6a40fa2.
1 parent 2f0fcd2 commit 0004697

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ipv8/src/main/java/nl/tudelft/ipv8/Community.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ abstract class Community : Overlay {
7373
network.blacklist.addAll(DEFAULT_ADDRESSES)
7474

7575
job = SupervisorJob()
76-
scope = CoroutineScope(Dispatchers.Default + job)
76+
scope = CoroutineScope(Dispatchers.Main + job)
7777

7878
if (evaProtocolEnabled)
7979
evaProtocol = EVAProtocol(this, scope)

0 commit comments

Comments
 (0)