mirror of
				https://github.com/kunkundi/crossdesk.git
				synced 2025-10-26 20:25:34 +08:00 
			
		
		
		
	[fix] release all peers when settings modified
This commit is contained in:
		
							
								
								
									
										5
									
								
								.github/workflows/build.yaml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										5
									
								
								.github/workflows/build.yaml
									
									
									
									
										vendored
									
									
								
							| @@ -108,17 +108,12 @@ jobs: | |||||||
|         with: |         with: | ||||||
|           submodules: recursive |           submodules: recursive | ||||||
|  |  | ||||||
|       - name: Check libstdc++ |  | ||||||
|         run: | |  | ||||||
|           strings /usr/lib/aarch64-linux-gnu/libstdc++.so.6 | grep GLIBCXX | tail |  | ||||||
|  |  | ||||||
|       - name: Build CrossDesk |       - name: Build CrossDesk | ||||||
|         env: |         env: | ||||||
|           CUDA_PATH: /usr/local/cuda |           CUDA_PATH: /usr/local/cuda | ||||||
|           XMAKE_GLOBALDIR: /data |           XMAKE_GLOBALDIR: /data | ||||||
|         run: | |         run: | | ||||||
|           xmake b -vy --root crossdesk |           xmake b -vy --root crossdesk | ||||||
|           ldd /path/to/your_binary | grep libstdc++ |  | ||||||
|  |  | ||||||
|       - name: Decode and save certificate |       - name: Decode and save certificate | ||||||
|         shell: bash |         shell: bash | ||||||
|   | |||||||
| @@ -236,7 +236,7 @@ int Render::SettingWindow() { | |||||||
|         // Recreate peer instance |         // Recreate peer instance | ||||||
|         if (!stream_window_inited_) { |         if (!stream_window_inited_) { | ||||||
|           LOG_INFO("Recreate peer instance"); |           LOG_INFO("Recreate peer instance"); | ||||||
|           DestroyPeer(&peer_); |           CleanupPeers(); | ||||||
|           CreateConnectionPeer(); |           CreateConnectionPeer(); | ||||||
|         } |         } | ||||||
|       } |       } | ||||||
|   | |||||||
							
								
								
									
										2
									
								
								thirdparty/minirtc
									
									
									
									
										vendored
									
									
								
							
							
								
								
								
								
								
							
						
						
									
										2
									
								
								thirdparty/minirtc
									
									
									
									
										vendored
									
									
								
							 Submodule thirdparty/minirtc updated: a994632740...abeb4bdcc7
									
								
							
		Reference in New Issue
	
	Block a user