39_alexa.pm: use asyncOutput after defered delete

git-svn-id: https://svn.fhem.de/fhem/trunk@18265 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
justme1968
2019-01-15 08:08:38 +00:00
parent 804eb3504c
commit ec63b91376

View File

@@ -169,7 +169,7 @@ alexa_Undefine($$)
if( $hash->{PID} ) {
$hash->{undefine} = 1;
#$hash->{undefine} = $hash->{CL};
$hash->{undefine} = $hash->{CL} if( $hash->{CL} );
alexa_stopAlexaFHEM($hash);
return "$name will be deleted after alexa-fhem has stopped or after 5 seconds. whatever comes first.";