mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-04-22 23:25:44 +00:00
TMVar lock to avoid subscriber and client processing in parallel, fix the test (#90)
* TMVar lock to avoid subscriber and client processing in parallel, fix the test * run SMP server as part of the test * stabilize tests * update simplexmq * test: stabilize getting invitation from terminal * remove unused import * simplify test
This commit is contained in:
committed by
GitHub
parent
a9d32db404
commit
d23417596e
@@ -28,7 +28,8 @@ data ChatController = ChatController
|
||||
idsDrg :: TVar ChaChaDRG,
|
||||
inputQ :: TBQueue InputEvent,
|
||||
notifyQ :: TBQueue Notification,
|
||||
sendNotification :: Notification -> IO ()
|
||||
sendNotification :: Notification -> IO (),
|
||||
chatLock :: TMVar ()
|
||||
}
|
||||
|
||||
data InputEvent = InputCommand String | InputControl Char
|
||||
|
||||
Reference in New Issue
Block a user