Signed-off-by: zhouyongfei <zhouyongfei@huawei.com>
This commit is contained in:
zhouyongfei
2021-12-16 21:05:01 +08:00
parent ee7232a16c
commit 904e168bb6
3 changed files with 5 additions and 2 deletions
@@ -47,7 +47,7 @@ namespace MiscServices {
EventListener *last_;
private:
int LISTENER_TYPTE_MAX_LENGTH = 64;
static const int LISTENER_TYPTE_MAX_LENGTH = 64;
};
}
}
@@ -222,6 +222,9 @@ namespace MiscServices {
delete eventTargetCB;
}
});
if (ret != 0) {
IMSA_HILOGI("EventTarget::Emit failed to execute libuv work queue");
}
delete work;
}
}
+1 -1
View File
@@ -12,7 +12,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include "unistd.h" // usleep
#include "platform.h"
#include "parcel.h"
#include "message_parcel.h"