insomniacslk / irc-slack

IRC-to-Slack gateway
BSD 3-Clause "New" or "Revised" License
195 stars 19 forks source link

Clear IRC context on disconnect #163

Closed insomniacslk closed 3 years ago

insomniacslk commented 3 years ago

Let the GC reclaim the context content upon disconnection

Signed-off-by: Andrea Barberio insomniac@slackware.it

codecov[bot] commented 3 years ago

Codecov Report

Merging #163 (c669b15) into master (68e0cf3) will increase coverage by 0.01%. The diff coverage is 0.00%.

Impacted file tree graph

@@            Coverage Diff            @@
##           master    #163      +/-   ##
=========================================
+ Coverage    9.73%   9.75%   +0.01%     
=========================================
  Files           9       9              
  Lines        1027    1025       -2     
=========================================
  Hits          100     100              
+ Misses        923     921       -2     
  Partials        4       4              
Flag Coverage Δ
unittest 9.75% <0.00%> (+0.01%) :arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
pkg/ircslack/event_handler.go 0.00% <0.00%> (ø)
pkg/ircslack/irc_context.go 0.00% <ø> (ø)
pkg/ircslack/irc_server.go 0.00% <ø> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 68e0cf3...c669b15. Read the comment docs.