- WhatsApp Start(): use deferred cleanup to nil out c.client/c.container and disconnect/close resources on any error after struct fields are assigned, preventing stale references and double-close in Stop() - handleReasoning: treat bus.ErrBusClosed as an expected condition (DEBUG level) alongside context timeout/cancel, avoiding WARN noise during normal shutdown |
||
|---|---|---|
| .. | ||
| init.go | ||
| whatsapp_native.go | ||
| whatsapp_native_stub.go | ||