Here the correction : class-coming-soon-frontend.php
/**
* Hide - Show Price in loop.
*
* @return void
*/
public function loop_hide_price() {
global $product;
$product_id = $product->get_id();
$settings = self::get_settings( $product_id );
if ( self::is_product_coming_soon( $product_id ) && ( 'yes' === $settings['hide_price'] ) ) {
remove_action( 'woocommerce_after_shop_loop_item_title', 'woocommerce_template_loop_price', 10 );
} else {
add_action( 'woocommerce_after_shop_loop_item_title', 'woocommerce_template_loop_price', 10 );
}
}