When a course module is deleted from a course, the "course_module_deleted" event is triggered. This allows plugins to observe that event and act accordingly when needed.
When a course is deleted, all of its course modules are also deleted, but no "course_module_deleted" events are generated. There should be one of these for each module deleted.
I have confirmed that this is a problem in all 3.* releases.