Skip to content

Micro refactoring sigintHandlersWrap method

Checklist
  • make -j4 test (UNIX), or vcbuild test nosign (Windows) passes
  • tests and/or benchmarks are included
  • [] documentation is changed or added
  • commit message follows commit guidelines
Affected core subsystem(s)

vm

Description of change
  • Removing extra if and else and use ternary operator instead
  • Avoid reassigning of sigintListeners variable
  • Extract new asArray function to handle transformation of sigintListeners to array

Merge request reports

Loading