LuciferYang commented on code in PR #40038:
URL: https://github.com/apache/spark/pull/40038#discussion_r1107480483


##########
connector/connect/client/jvm/src/main/scala/org/apache/spark/sql/SparkSession.scala:
##########
@@ -133,6 +133,7 @@ class SparkSession(private val client: SparkConnectClient, 
private val cleaner:
 
   override def close(): Unit = {
     client.shutdown()
+    cleaner.stop()

Review Comment:
   Like this? stop cleaner and close all refs in `referenceBuffer` that has not 
been cleaned? @zhenlineo 
   
   



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to