Skip to content

Commit

Permalink
Merge pull request #95 from TomokiMochizuki/feature/remove_laser_emitter
Browse files Browse the repository at this point in the history
Destructer でlaser_emitterをdeleteし忘れていたので削除
  • Loading branch information
TomokiMochizuki authored Feb 16, 2024
2 parents 6b05d2b + 82d8500 commit 826e11a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions s2e-ff/src/simulation/spacecraft/ff_components_2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,9 @@ FfComponents2::~FfComponents2() {
for (auto corner_cube_reflector : corner_cube_reflectors_) {
delete corner_cube_reflector;
}
for (auto laser_emitter : laser_emitters_) {
delete laser_emitter;
}
// OBC must be deleted the last since it has com ports
delete obc_;
}
Expand Down

0 comments on commit 826e11a

Please sign in to comment.