Mercurial Hosting > luan
changeset 1441:83e2585104b9
logging
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Fri, 24 Jan 2020 12:59:20 -0500 |
parents | 4e50b78c7040 |
children | bbc41b305935 |
files | src/luan/modules/ThreadLuan.java |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/luan/modules/ThreadLuan.java Fri Jan 24 08:41:37 2020 -0500 +++ b/src/luan/modules/ThreadLuan.java Fri Jan 24 12:59:20 2020 -0500 @@ -56,8 +56,8 @@ private static void cancel(ScheduledFuture sf,String src) { boolean b = sf.cancel(false); - if( !b ) - logger.error(src+" cancel failed isCancelled="+sf.isCancelled()+" isDone="+sf.isDone()); +// if( !b ) + logger.error(src+" cancel="+b+" isCancelled="+sf.isCancelled()+" isDone="+sf.isDone()+" "+sf); } public static void schedule(LuanFunction fn,LuanTable options) @@ -77,7 +77,7 @@ if( ref != null ) { ScheduledFuture sf = ref.get(); if( sf != null ) - cancel(sf,"id"); + cancel(sf,"id "+id); } } Luan luan = fn.luan();