stop method

  1. @override
Future<bool> stop()
override

Implementation

@override
Future<bool> stop() async
{
  bool ok = true;
  try
  {
    channel.close();
  }
  catch(e)
  {
    ok = false;
  }
  super.stop();
  return ok;
}