diff --git a/background.go b/background.go index 44a6721..c586e1c 100644 --- a/background.go +++ b/background.go @@ -11,9 +11,8 @@ import ( // Background is a top-level entity for the background-task processing. type Background struct { - // running indicates whether processor and poller are both running. - running bool mu sync.Mutex + running bool poller *poller processor *processor